AuthzInitializeRemoteResourceManager function (authz.h)

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(
  [in]  PAUTHZ_RPC_INIT_INFO_CLIENT    pRpcInitInfo,
  [out] PAUTHZ_RESOURCE_MANAGER_HANDLE phAuthzResourceManager
);

Parameters

[in] pRpcInitInfo

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

[out] 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

Requirement Value
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