RpcMgmtInqDefaultProtectLevel function
The RpcMgmtInqDefaultProtectLevel function returns the default authentication level for an authentication service.
Syntax
RPC_STATUS RPC_ENTRY RpcMgmtInqDefaultProtectLevel( unsigned int AuthnSvc, unsigned int *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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also