大网数据广告活动
网络与域名解析

Authentication-Service Constants (Rpcdce.h)

· 52CE 我爱测

The authentication service constants represent the authentication services passed to various run-time functions.

The authentication service constants represent the authentication services passed to various run-time functions.

The following constants are valid values for the AuthnSvc parameter.

Constant/value Description
RPC_C_AUTHN_NONE 0 No authentication.
RPC_C_AUTHN_DCE_PRIVATE 1 Use Distributed Computing Environment (DCE) private key authentication.
RPC_C_AUTHN_DCE_PUBLIC 2 DCE public key authentication (reserved for future use).
RPC_C_AUTHN_DEC_PUBLIC 4 DEC public key authentication (reserved for future use).
RPC_C_AUTHN_GSS_NEGOTIATE 9 Use the Microsoft Negotiate SSP. This SSP negotiates between the use of the NTLM and Kerberos protocol Security Support Providers (SSP).
RPC_C_AUTHN_WINNT 10 Use the Microsoft NT LAN Manager (NTLM) SSP.
RPC_C_AUTHN_GSS_SCHANNEL 14 Use the Schannel SSP. This SSP supports Secure Socket Layer (SSL), private communication technology (PCT), and transport level security (TLS).
RPC_C_AUTHN_GSS_KERBEROS 16 Use the Microsoft Kerberos SSP.
RPC_C_AUTHN_DPA 17 Use Distributed Password Authentication (DPA).
RPC_C_AUTHN_MSN 18 Authentication protocol SSP used for the Microsoft Network (MSN).
RPC_C_AUTHN_DIGEST 21 Windows XP or later: Use the Microsoft Digest SSP
RPC_C_AUTHN_NEGO_EXTENDER 30 Windows 7 or later: Reserved. Do not use
RPC_C_AUTHN_MQ 100 This SSP provides an SSPI-compatible wrapper for the Microsoft Message Queue (MSMQ) transport-level protocol.
RPC_C_AUTHN_DEFAULT 0xffffffff Use the default authentication service.

Remarks

Specify RPC_C_AUTHN_NONE to turn off authentication for remote procedure calls made over a binding handle. When you specify RPC_C_AUTHN_DEFAULT, the RPC run-time library uses the RPC_C_AUTHN_WINNT authentication service for remote procedure calls made using the binding handle.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header Rpcdce.h

See also

RpcBindingInqAuthInfo

RpcBindingSetAuthInfo

RpcBindingInqAuthClient

RpcBindingInqAuthClientEx

RpcBindingSetAuthInfoEx

RpcBindingInqAuthInfoEx

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。