DWORD Chusov::Win32::Security::GetTokenGroupCount | ( | HANDLE | hToken | ) |
Returns a number of groups in the specified access token.
[in] | hToken | is a handle of the token. It must be opened with TOKEN_QUERY access right. Tokens returned by the GetCurrentImpersonationToken have one. |
Chusov::Exceptions::ChsvCodeException | System-level error occurred. |