AuthzInitializeRemoteResourceManager function

The AuthzInitializeRemoteResourceManager function allocates and initializes a remote resource manager. The caller can use the resulting handle to make AuthZ calls over RPC to a remote instance of the resource manager configured on a server.

Syntax

AUTHZAPI BOOL AuthzInitializeRemoteResourceManager(
  PAUTHZ_RPC_INIT_INFO_CLIENT    pRpcInitInfo,
  PAUTHZ_RESOURCE_MANAGER_HANDLE phAuthzResourceManager
);

Parameters

pRpcInitInfo

Pointer to an AUTHZ_RPC_INIT_INFO_CLIENT structure containing the initial information needed to configure the connection.

phAuthzResourceManager

A handle to the resource manager. When you have finished using the handle, free it by calling the AuthzFreeResourceManager function.

Return Value

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE. To get extended error information, call GetLastError.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header authz.h
Library Authz.lib
DLL Authz.dll