Skip to main content

AddAltirisPolicy

You can use the AddAltirisPolicy web method to add an Altiris policy to a catalog item.

Parameters

The AddAltirisPolicy web method includes the following parameters:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
packageGuidStringGUID of the Altiris policy.
programGuidStringGUID of the Altiris program.
programTypeStringEnter one of the following values to identify the purpose of this Altiris policy: Install Uninstall Repair
deploymentTargetEnum valueUse one of the following values: 0 —DeployToUser 1 —DeployToComputer

Return Value

Returns one of the following values:

  • Returns TRUE for success.
  • Returns FALSE for failure.