RpcMgmtInqDefaultProtectLevel function (rpcdce.h)
The RpcMgmtInqDefaultProtectLevel function returns the default authentication level for an authentication service.
Syntax
RPC_STATUS RpcMgmtInqDefaultProtectLevel(
unsigned long AuthnSvc,
unsigned long *AuthnLevel
);
Parameters
AuthnSvc
Authentication service for which to return the default authentication level. Valid values are the constant for any valid security provider.
AuthnLevel
Returns the default authentication level for the specified authentication service. The authentication level determines the degree to which authenticated communications between the client and server are protected. For more information, see Authentication Level Constants.
Return value
Value | Meaning |
---|---|
|
The call succeeded. |
|
Unknown authentication service. |
Remarks
An application calls the RpcMgmtInqDefaultProtectLevel function to obtain the default authentication level for a specified authentication service.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | rpcdce.h (include Rpc.h) |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |