SetAlternateApproverAndOutOfOffice

App Portal 2020 R1

You can use the SetAlternateApproverAndOutOfOffice web method to set an alternate approver for a user. You can also use it to automatically update the approver if a user is out of the office.

Parameters

The SetAlternateApproverAndOutOfOffice web method includes the following parameters:

SetAlternateApproverAndOutOfOffice Parameters

#

Parameters

Data Type

Description

1.  

uniqueUserName

String

Unique user name of the user (DomainName\UserName)

2.  

uniqueApproverName

String

Unique user name of the alternate approver (DomainName\UserName)

3.  

outOfOffice

String

TRUE or FALSE is passed to indicate whether the user (passed in the uniqueUserName parameter) is in the office.

Return Value

Returns one of the following values:

Returns TRUE for success
Returns FALSE for failure