IWSDHttpAuthParameters::GetAuthType method

The GetAuthType method retrieves the HTTP authentication scheme used during the authentication of the client.

Syntax


HRESULT GetAuthType(
  PHTTP_REQUEST_AUTH_TYPE pAuthType
);

Parameters

pAuthType

Pointer to an HTTP_REQUEST_AUTH_TYPE value that indicates the HTTP authentication scheme used during authentication. Possible values include:

ValueMeaning
WSD_SECURITY_HTTP_AUTH_SCHEME_NEGOTIATE
0x1

Negotiate authentication.

WSD_SECURITY_HTTP_AUTH_SCHEME_NTLM
0x2

NTLM authentication.

 

Return value

This method returns S_OK on success.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Wsdtypes.h (include Wsdapi.h)

See also

IWSDHttpAuthParameters

 

 

Community Additions

ADD
Show:
© 2014 Microsoft