AutoToken Chusov::Win32::Security::GetCurrentImpersonationToken | ( | ) |
Returns a handle to an impersonation token of the calling thread. If the thread does not have one, the returned token is an impersonation token, retrieved from a primary token of the current process.
Chusov::Exceptions::ChsvCodeException | System-level error occurred. |