This server class provides methods that allow you to interact with delegation records.

getDelegatesOfType()


This method returns an array of delegates.

Parameter(s):

NameTypeMandatoryDefault Value
accessStringYN
approvalStringYN
delegatorIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
ArrayThis method returns an array of delegates.

Example:

getDelegatorsOfType()


This method returns an array of the employees who delegated authority.

Parameter(s):

NameTypeMandatoryDefault Value
accessStringYN
approvalStringYN
delegateIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
ArrayThis method returns an array of delegates.

Example:

hasDelegationOfType()


This method returns true if there is a specific delegation record. 

Parameter(s):

NameTypeMandatoryDefault Value
accessStringYN
approvalStringYN
delegateIdStringYN
delegatorIdStringYN
fromDateTimeSimpleDateTime objectYN
toDateTimeSimpleDateTime objectYN

Returns:

TypeDescription
BooleanThis method returns true if the delegation record with the specified value of the parameters exists. Otherwise, it returns false.

Example: