Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SOLE_AUTHENTICATION_SERVICE structure

Identifies an authentication service that a server is willing to use to communicate to a client.

Syntax


typedef struct tagSOLE_AUTHENTICATION_SERVICE {
  DWORD   dwAuthnSvc;
  DWORD   dwAuthzSvc;
  OLECHAR *pPrincipalName;
  HRESULT hr;
} SOLE_AUTHENTICATION_SERVICE, *PSOLE_AUTHENTICATION_SERVICE;

Members

dwAuthnSvc

The authentication service. This member can be a single value from the Authentication Service Constants.

dwAuthzSvc

The authorization service. This member can be a single value from the Authorization Constants.

pPrincipalName

The principal name to be used with the authentication service. If the principal name is NULL, the current user identifier is assumed. A NULL principal name is allowed for NTLMSSP, Kerberos, and Snego authentication services but may not work for other authentication services. For Schannel, this member must point to a CERT_CONTEXT structure that contains the server's certificate; if it NULL and if a certificate for the current user does not exist, RPC_E_NO_GOOD_SECURITY_PACKAGES is returned.

hr

When used in CoInitializeSecurity, set on return to indicate the status of the call to register the authentication services.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

See also

CoInitializeSecurity
CoQueryAuthenticationServices

 

 

Show:
© 2017 Microsoft