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.
FALSE
This thread is not currently impersonating.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

IServerSecurity::RevertToSelf.