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:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| catalogItemID | Integer | ID of the catalog item. | |
| packageGuid | String | GUID of the Altiris policy. | |
| programGuid | String | GUID of the Altiris program. | |
| programType | String | Enter one of the following values to identify the purpose of this Altiris policy: Install Uninstall Repair | |
| deploymentTarget | Enum value | Use 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.