Skip to main content

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:

#ParameterData TypeDescription
TitleStringName of the catalog item.
usernameStringUser 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.