CoQueryProxyAuthenticationInfo

HRESULT CoQueryProxyAuthenticationInfo(pProxy, pcbAuthnSvc, pasAuthnSvc, ppAuthInfo, pAuthnLevel);

Returns the authentication information used to make calls on the specified proxy. This function encapsulates the following sequence of common calls:


pProxy->QueryInterface(IID_IClientSecurity, (void**)&pcs);
pcs->QueryBlanket(pProxy, AuthnSvc, ServerPrincName, pAuthInfo, AuthnLevel);
pcs->Release();

Argument

Type

Description

see IClientSecurity::QueryBlanket