The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.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) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(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() 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