หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
The GetAuthType method retrieves the HTTP authentication scheme used during the authentication of the client.
Syntax
HRESULT GetAuthType(
PWSD_SECURITY_HTTP_AUTH_SCHEMES pAuthType
);
Parameters
pAuthType
Pointer to an HTTP_REQUEST_AUTH_TYPE value that indicates the HTTP authentication scheme used during authentication. Possible values include:
| Value | Meaning |
|---|---|
|
Negotiate authentication. |
|
NTLM authentication. |
Return value
This method returns S_OK on success.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdbase.h (include Wsdapi.h) |