Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Identifies an authentication service that a server is willing to use to communicate to a client.
typedef struct tagSOLE_AUTHENTICATION_SERVICE {
DWORD dwAuthnSvc;
DWORD dwAuthzSvc;
OLECHAR *pPrincipalName;
HRESULT hr;
} SOLE_AUTHENTICATION_SERVICE;
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.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | objidl.h (include Objidl.h) |