CoSetProxyAuthenticationInfo

HRESULT CoSetProxyAuthenticationInfo(pProxy, AuthnSvc, ServerPrincName, pAuthInfo, AuthnLevel, AuthzSvc);

Sets the authentication information that will be used to make calls on the specified proxy. This function encapsulates the following sequence of common calls:


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

Argument

Type

Description

see IClientSecurity::SetBlanket