Partager via


IServerSecurity::IsImpersonating (Compact 2013)

3/26/2014

This method indicates whether IServerSecurity::ImpersonateClient has been called without a matching call to IServerSecurity::RevertToSelf.

Syntax

BOOL IsImpersonating( )

Parameters

None.

Return Value

  • TRUE
    This thread has called IServerSecurity::ImpersonateClient and is currently impersonating.
  • FALSE
    This thread is not currently impersonating.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header

objidl.h,
objidl.idl

Library

ole32.lib,
uuid.lib

See Also

Reference

IServerSecurity
IServerSecurity::RevertToSelf