Share via


WindowsClientElement.AllowedImpersonationLevel Propriété

Définition

Obtient ou définit le niveau d'emprunt d'identité autorisé.

public:
 property System::Security::Principal::TokenImpersonationLevel AllowedImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
[System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)]
public System.Security.Principal.TokenImpersonationLevel AllowedImpersonationLevel { get; set; }
[<System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)>]
member this.AllowedImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property AllowedImpersonationLevel As TokenImpersonationLevel

Valeur de propriété

Valeur TokenImpersonationLevel valide qui spécifie le niveau d'emprunt d'identité autorisé. La valeur par défaut est Identification.

Attributs

Remarques

Pour une description de l'énumération, consultez TokenImpersonationLevel.

S’applique à