INSSUserAuthentication::Revert

The INSSUserAuthentication::Revert method is used to terminate impersonation.

Syntax

HRESULT Revert ( );

Parameters

This method has no parameters

Return Values

This method should return S_OK upon successful completion, or an HRESULT error value.

Remarks

This method should only be called after authentication is complete, and only if the result is NS_AUTH_SUCCESS. The results of authentication can be determined by calling the INSSAuthenticationContext::GetAuthenticationResult method.

Authenticators typically implement this method by calling the following functions:

See Also

INSSUserAuthentication::Impersonate, INSSUserAuthentication::GetAuthenticationResult

© 1996-1998 Microsoft Corporation. All rights reserved.