Skip to main content

SetAlternateApproverAndOutOfOffice

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:

#ParametersData TypeDescription
uniqueUserNameStringUnique user name of the user (DomainName\UserName)
uniqueApproverNameStringUnique user name of the alternate approver (DomainName\UserName)
outOfOfficeStringTRUE 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