IAdmApprovalRequestContainer

The IAdmApprovalRequestContainer interface represents the container where approval requests are stored. The container is located at the Adaxes Configuration Server (ADAM or AD LDS).

Inheritance: IAdmTop

Methods

Details

GetApprovalRequests()

Returns an array of GUIDs of all the approval requests of the specified state. Each GUID is represented as an array of 16 bytes (Byte[]), and the method returns an array of arrays of byte (Byte[][]).

Byte[][] GetApprovalRequests(ADM_APPROVALSTATE_ENUM requestState)

Parameters

The requestState parameter specifies the state of approval requests to return.


GetApprovalRequests2()

Returns GUIDs of all approval requests of the specified state created within a specific time period. Each GUID is represented as an array of 16 bytes (Byte[]), and the method returns an array of arrays of byte (Byte[][]).

Byte[][] GetApprovalRequests2(ADM_APPROVALSTATE_ENUM requestState,
                              DateTime dateFrom, 
                              DateTime dateTo)

Parameters

  • requestState - Specifies the state of approval requests to return.
  • dateFrom - Specifies the start date and time of the period for which to return approval requests. The method will return only the requests created after the specified date.
  • dateTo - Specifies the end date and time of the period for which to return approval requests. The method will return only the requests created before the specified date.

GetProcessedApprovalRequests()

Returns GUIDs of all processed approval requests of the specified state created within a specific time period. Each GUID is represented as an array of 16 bytes (Byte[]), and the method returns an array of arrays of byte (Byte[][]).

Byte[][] GetProcessedApprovalRequests(ADM_APPROVALSTATE_ENUM requestState,
                              DateTime dateFrom, 
                              DateTime dateTo)

Parameters

  • requestState - Specifies the state of approval requests to return. If the parameter is set to ADM_APPROVALSTATE_PENDING, the method returns an empty array.
  • dateFrom - Specifies the start date and time of the period for which to return approval requests. The method will return only the requests created after the specified date.
  • dateTo - Specifies the end date and time of the period for which to return approval requests. The method will return only the requests created before the specified date.

Requirements

Minimum required version: 2020.1

See also