NegotiateAuthentication.IsAuthenticated Propriété
Définition
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 une valeur qui indique si l’échange d’authentification est terminé.
public:
property bool IsAuthenticated { bool get(); };
public bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public ReadOnly Property IsAuthenticated As Boolean
Valeur de propriété
true si l’échange d’authentification est terminé ; sinon, false.
Remarques
Cette propriété indique si l’échange d’authentification est terminé, et non si l’authentification a réussi. Une true valeur peut être retournée après une authentification réussie ou une défaillance de l’authentification terminale.
Pour déterminer si l’authentification a réussi, inspectez le NegotiateAuthenticationStatusCode retour par l’appel le plus récent à GetOutgoingBlob. L’état est Completed en cours de réussite ; toute autre valeur indique que l’authentification n’a pas réussi.