User Members

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 his/her password the next time he/she logs on.

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
SetPassword(String)

Changes the user password.

Events

Name Description
PropertyChanged

Occurs when the User.ChangePasswordOnFirstLogon property value is modified.