Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.52 KB

authorization-functions.md

File metadata and controls

21 lines (12 loc) · 1.52 KB
title description ms.assetid ms.topic ms.date
Authorization Functions (RPC)
Each time a server program receives a client request for access to one of the management remote procedures, the RPC run-time library invokes a default authorization function.
e3edbf6f-2876-49ac-a93e-14fd0b5adf53
article
05/31/2018

Authorization Functions

Each time a server program receives a client request for access to one of the management remote procedures, the RPC run-time library invokes a default authorization function. This function uses the SSP to check the client's credentials and authorize or reject the request.

Your server program can override the authorization function that the SSP provides. Invoke the function RpcMgmtSetAuthorizationFn and pass it to the address of your authorization function. Once the server program sets the authorization function, the RPC run-time library calls it every time the server program receives a client request to one of the management functions. For more information, see RpcMgmtIsServerListening, RpcMgmtStopServerListening, RpcMgmtInqIfIds, RpcMgmtInqServerPrincName, and RpcMgmtInqStats.