Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

2.7.3 GetAccessToken

The GetAccessToken abstract interface causes the underlying security infrastructure for the server role to return the Token/Authorization Context, as specified in section 2.5.2, of the current execution context.

If no prior call has been made to StartImpersonation() in the current execution context, the call returns the primary access token (see [MSDN-ACCTOKENS]) of the security principal that is associated with the current execution context.

If a call to StartImpersonation() has been performed without a subsequent call to EndImpersonation(), the call returns the impersonation access token as the Token parameter to the Access Check Algorithm defined in section 2.5.3.2.

Token GetAccessToken();

Return Values: This method returns a Token/Authorization Context, as specified in section 2.5.2, of the current execution context.

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.