Called to retrieve the results of the authentication.
Syntax
HRESULT GetAuthenticationResult (
NS_AUTH_RESULT *pResult
);
Parameters
[out] pResult
Specifies a pointer to the results of the authentication. The following are valid results.
Results | Description |
NS_AUTH_SUCCESS | Authentication is complete, and the client is authenticated. |
NS_AUTH_DENIED | Authentication is complete, and the client cannot be authenticated. |
NS_AUTH_CONTINUE | More data is needed to complete authentication. |
NS_AUTH_ERROR | An error occurred during authentication. |
NS_AUTH_PENDING | Authentication is in progress. |
Return Values
This method must return S_OK upon successful completion, or an HRESULT error code.
Remarks
The following sample code demonstrates a skeletal implementation of this method:
HRESULT CUserAuthentication::GetAuthenticationResult(
NS_AUTH_RESULT *pResult )
{
//
// Set the results of the authentication
//
return( S_OK );
}
See Also
INSSUserAuthentication::GetUserId
[Previous][Next]