Share via


User.ResetPasswordOnNextLogon property

Gets or sets a value that indicates whether the user must reset their password the next time the user logs on.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Property ResetPasswordOnNextLogon As Boolean
    Get
    Set
'Usage
Dim instance As User
Dim value As Boolean

value = instance.ResetPasswordOnNextLogon

instance.ResetPasswordOnNextLogon = value
public bool ResetPasswordOnNextLogon { get; set; }

Property value

Type: System.Boolean
true if the user’s password must be reset the next time the user logs on; otherwise, false.

Remarks

The default value is true.

See also

Reference

User class

User members

Microsoft.Exchange.Data.Directory.Management namespace