Share via


AuthenticablePrincipal.UserCannotChangePassword Proprietà

Definizione

Ottiene o imposta un valore booleano che specifica se l'utente può modificare la password per questo account. Non usare questa proprietà con un oggetto ComputerPrincipal.

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

Valore della proprietà

true se l'utente non è autorizzato a modificare la password; in caso contrario, false.

Eccezioni

L'archivio sottostante non supporta questa proprietà.

L'oggetto entità non è un utente.

Commenti

Questo metodo non è destinato alle entità computer. La chiamata a questo oggetto con verrà ComputerPrincipal generata un'eccezione NotSupportedException .

Si applica a