CAccessToken::GetTokenId

Call this method to get the Token ID associated with the CAccessToken object.

bool GetTokenId(
   LUID* pluid
) const throw(...);

Parameters

  • pluid
    Pointer to a LUID which will receive the Token ID.

Return Value

Returns true on success, false on failure.

Requirements

Header: atlsecurity.h

See Also

Reference

CAccessToken Class

Other Resources

CAccessToken Members