# Class AuthorityMap

Namespace
  adas_core.LdapLogin.Configuration

Assembly
  adas-core.LdapLogin.dll

Represents a mapping between an LDAP group and an application role, including the group name, corresponding role, allowed actions, and an optional display ID for user-friendly identification.

    public class AuthorityMap

Inheritance
  object
  AuthorityMap

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Properties

### Actions

A list of actions that users belonging to the specified LDAP group are allowed to perform within the application. These actions can be defined in an enumeration (e.g., ActionsEnum.Actions)

    public List<ActionsEnum.Actions> Actions { get; set; }

#### Property Value

List<ActionsEnum.Actions>

### DisplayId

An optional display ID for the authority mapping, which can be used for user-friendly identification in the application.

    public string? DisplayId { get; set; }

#### Property Value

string

### Group

The name of the LDAP group that is being mapped to an application role. This should correspond to the group names defined in the LDAP directory, and it is used to determine which users belong to this group based on their group memberships in the LDAP directory.

    public string Group { get; set; }

#### Property Value

string

### Rol

The role in the application that corresponds to the LDAP group. This role can be used to determine the permissions and access levels for users who belong to the specified LDAP group.

    public string? Rol { get; set; }

#### Property Value

string