CAccessToken::GetPrimaryGroup
Call this method to get the primary group associated with the CAccessToken object.
bool GetPrimaryGroup(
CSid* pSid
) const throw(...);
Параметры
- pSid
Pointer to a CSid Class object.
Возвращаемое значение
Returns true on success, false on failure.
Заметки
The group is set by default on any objects created while this access token is in effect.
Требования
Header: atlsecurity.h