IServerSecurity::IsImpersonating

Indicates whether IServerSecurity::ImpersonateClient has been called without a matching call to IServerSecurity::RevertToSelf.

BOOL IsImpersonating()

Return Values

TRUE
This thread has called IServerSecurity::ImpersonateClient and is currently impersonating the client of this call.
FALSE
This thread is not currently impersonating the client of this call.

See Also

IServerSecurity::RevertToSelf.