This server class provides methods that allow you to interact with delegation records.
This method returns an array of delegates.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
access | String | Y | N |
approval | String | Y | N |
delegatorId | String | Y | N |
fromDateTime | SimpleDateTime object | Y | N |
toDateTime | SimpleDateTime object | Y | N |
Returns:
Type | Description |
---|---|
Array | This method returns an array of delegates. |
Example:
This method returns an array of the employees who delegated authority.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
access | String | Y | N |
approval | String | Y | N |
delegateId | String | Y | N |
fromDateTime | SimpleDateTime object | Y | N |
toDateTime | SimpleDateTime object | Y | N |
Returns:
Type | Description |
---|---|
Array | This method returns an array of delegates. |
Example:
This method returns true if there is a specific delegation record.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
access | String | Y | N |
approval | String | Y | N |
delegateId | String | Y | N |
delegatorId | String | Y | N |
fromDateTime | SimpleDateTime object | Y | N |
toDateTime | SimpleDateTime object | Y | N |
Returns:
Type | Description |
---|---|
Boolean | This method returns true if the delegation record with the specified value of the parameters exists. Otherwise, it returns false. |
Example: