Share via


EasClientSecurityPolicy.DisallowConvenienceLogon Property

Definition

Note

EasClientSecurityPolicy may be unavailable for releases after Windows 10.

Gets or sets the ability to prevent convenience logons. DisallowConvenienceLogon is not defined in MS-ASPROV. It is mapped from MS-ASPROV AllowSimplePassword with respect to the Windows password policies.

When DevicePasswordEnabled is equal to TRUE, if AllowSimplePassword is TRUE, then DisallowConvenienceLogon should be set to FALSE. If AllowSimplePassword is FALSE, then DisallowConvenienceLogon should be set to TRUE.

public:
 property bool DisallowConvenienceLogon { bool get(); void set(bool value); };
bool DisallowConvenienceLogon();

void DisallowConvenienceLogon(bool value);
public bool DisallowConvenienceLogon { get; set; }
var boolean = easClientSecurityPolicy.disallowConvenienceLogon;
easClientSecurityPolicy.disallowConvenienceLogon = boolean;
Public Property DisallowConvenienceLogon As Boolean

Property Value

Boolean

bool

TRUE prevents convenience logons.

Applies to