AuthenticablePrincipal.UserCannotChangePassword Propriété
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une valeur booléenne qui spécifie si l’utilisateur peut changer de mot de passe pour ce compte. Ne pas utiliser avec 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
true
si l’utilisateur n’est pas autorisé à modifier le mot de passe, sinon false
.
Le magasin sous-jacent ne prend pas en charge cette propriété.
Cet objet principal n’est pas un utilisateur.
Cette méthode n’est pas destinée aux principaux d’ordinateur. L’appel de ceci avec un ComputerPrincipal entraîne la levée d’un NotSupportedException .
Produit | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: