setRequestOnBehalfPropertyForCatalogItem
Use the SetRequestOnBehalfPropertyForCatalogItem command to set the “request on behalf” property for a catalog item. It allocates the “request on behalf” permission to the user, if provided.
Parameters
The SetRequestOnBehalfPropertyForCatalogItem command includes the following parameters:
| # | Parameter | Data Type | Description |
|---|---|---|---|
| Title | String | Name of the catalog item. | |
| username | String | User name of the user. |
Return Value
Returns one of the following values:
- Returns 1 when setting the request on behalf property for a catalog item
- Returns 0 if the property was not set.
- Returns -1 when encountering an exception.