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:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| uniqueUserName | String | Unique user name of the user (DomainName\UserName) | |
| uniqueApproverName | String | Unique user name of the alternate approver (DomainName\UserName) | |
| 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