CAccessToken::GetOwner

Call this method to get the owner associated with the CAccessToken object.

bool GetOwner(
   CSid* pSid
) const throw(...);

Parameters

Return Value

Returns true on success, false on failure.

Remarks

The owner is set by default on any objects created while this access token is in effect.

Requirements

Header: atlsecurity.h

See Also

Reference

CAccessToken Class

CAccessToken::SetOwner

Other Resources

CAccessToken Members