Login.PasswordPolicyEnforced Property

 

Gets the Boolean property value that specifies whether password policy is enforced for this login account.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase, 
	"false")]
public bool PasswordPolicyEnforced { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether password policy is enforced for this login account.

If True, password policy is enforced for this login account.

If False (default), password policy is not enforced for this login account.

Return to top
Show: