NegotiateAuthentication.IsAuthenticated Property

Definition

Gets a value that indicates whether the authentication exchange has completed.

public:
 property bool IsAuthenticated { bool get(); };
public bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public ReadOnly Property IsAuthenticated As Boolean

Property Value

true if the authentication exchange has completed; otherwise, false.

Remarks

This property indicates whether the authentication exchange has completed, not whether authentication succeeded. A true value can be returned after either successful authentication or a terminal authentication failure.

To determine whether authentication actually succeeded, inspect the NegotiateAuthenticationStatusCode returned by the most recent call to GetOutgoingBlob. The status is Completed on success; any other value indicates that authentication didn't complete successfully.

Applies to