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 |
|---|---|---|---|
| 1. | catalogItemID | Integer | ID of the catalog item. |
| 2. | packageGuid | String | GUID of the Altiris policy. |
| 3. | programGuid | String | GUID of the Altiris program. |
| 4. | programType | String | Enter one of the following values to identify the purpose of this Altiris policy: Install Uninstall Repair |
| 5. | 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.