CoImpersonateClient

HRESULT CoImpersonateClient();

Allows the server to impersonate the client of the current call for the duration of the call. This function encapsulates the following sequence of common calls:


CoGetCallContext(IID_IServerSecurity, (void**)&pss);
pss->ImpersonateClient();
pss->Release();

Argument

Type

Description

see IServerSecurity::ImpersonateClient