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
-
AuthorityMap
- Inherited Members
- Extension Methods
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
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
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
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; }