Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PasswordNotRequired Property

AuthenticablePrincipal.PasswordNotRequired Property

Gets or sets a Boolean value that specifies whether a password is required for this account.

Namespace:  System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public bool PasswordNotRequired { get; set; }

Property Value

Type: System.Boolean
true if a password is required for this account; otherwise false.

ExceptionCondition
InvalidOperationException

The underlying store does not support this property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft