CoQueryClientAuthenticationInfo

HRESULT CoQueryClientAuthenticationInfo(Privs, ServerPrincName, AuthnLevel, AuthnSvc, AuthzSvc);

Used by the server to find out about the client that invoked the method executing on the current thread. This function encapsulates the following sequence of common calls:


CoGetCallContext(IID_IServerSecurity, (void**)&pss);
pss->QueryBlanket(Privs, ServerPrincName, AuthnLevel, AuthnSvc, AuthzSvc);
pss->Release();

Argument

Type

Description

see IServerSecurity::QueryBlanket