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
<ParameterAttribute(Mandatory := False)> _
Public Property ResetPasswordOnNextLogon As Boolean
    Get
    Set
'Usage
Dim instance As User
Dim value As Boolean

value = instance.ResetPasswordOnNextLogon

instance.ResetPasswordOnNextLogon = value
[ParameterAttribute(Mandatory = false)]
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.