expressappframework-devexpress-dot-persistent-dot-base-dot-security-dot-iauthenticationstandarduser.md
Specifies whether the user must change password on the next logon.
Namespace : DevExpress.Persistent.Base.Security
Assembly : DevExpress.Persistent.Base.v25.2.dll
NuGet Package : DevExpress.Persistent.Base
bool ChangePasswordOnFirstLogon { get; set; }
Property ChangePasswordOnFirstLogon As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the user must change password on the next logon; otherwise - false.
|
If this property is set to true for a particular user, an additional window will be displayed after authentication.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChangePasswordOnFirstLogon property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
user.SetPassword(password);
user.ChangePasswordOnFirstLogon = true;
objectSpace.CommitChanges();
See Also
Passwords in the Security System
IAuthenticationStandardUser Interface