語言

AuthenticablePrincipal.PasswordNotRequired 屬性

定義

取得或設定一個布林值,指定該帳號是否需要密碼。

public:
 property bool PasswordNotRequired { bool get(); void set(bool value); };
public bool PasswordNotRequired { get; set; }
member this.PasswordNotRequired : bool with get, set
Public Property PasswordNotRequired As Boolean

屬性值

false 如果此帳號需要密碼;否則 true。

例外狀況

底層的商店不支援此特性。

適用於