Table of Contents

Class UserLdap

Namespace
adas_core.LdapLogin.Configuration
Assembly
adas-core.LdapLogin.dll

Represents a user in the LDAP authentication context, including their name, username, role, allowed actions, and an optional display ID for user-friendly identification.

public class UserLdap
Inheritance
UserLdap
Inherited Members
Extension Methods

Properties

Actions

A list of actions that the user is allowed to perform within the application. These actions can be defined in an enumeration (e.g., ActionsEnum.Actions) and can be used to control access to specific features or functionalities based on the user's role and permissions.

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

Property Value

List<ActionsEnum.Actions>

DisplayId

An optional display ID for the user, which can be used for user-friendly identification in the application. This can be particularly useful in user interfaces or logs where a more descriptive identifier is preferred over the username.

public string? DisplayId { get; set; }

Property Value

string

Name

public string? Name { get; set; }

Property Value

string

Rol

The role assigned to the user within the application. This role can be used to determine the user's permissions and access levels within the application.

public string? Rol { get; set; }

Property Value

string

Username

The username of the user, which is used for authentication and identification purposes. This should correspond to the property defined in UserNameProperty in the LdapConfig class, such as "sAMAccountName" for Active Directory environments.

public string? Username { get; set; }

Property Value

string