Skip to main content
.NET 8.0+

User Members

An XAF user who has a list of associated security roles.

Constructors

Name Description
User() Initializes a new instance of the User class.

Fields

Name Description
ruleId_RoleRequired Gets an identifier of the validation rule that requires the User.Roles property to have a value.
ruleId_UserNameIsUnique Gets an identifier of the validation rule that requires the User.UserName value to be unique.
ruleId_UserNameRequired Gets an identifier of the validation rule that requires the User.UserName property to have a value.

Properties

Name Description
ChangePasswordOnFirstLogon Specifies whether the user must change password on the next logon.
ID Specifies the User identifier.
IsActive Specifies if a user is allowed to logon.
Roles A list of roles associated with the current user.
StoredPassword Specifies the encrypted password stored in the database.
UserName Specifies the user’s login name.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetPassword(String) Changes the user password.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when the User.ChangePasswordOnFirstLogon property value is modified.
See Also