AssignSoftwareClassToClientAndActivate_SW
Table of Contents
This function is used to assign a software class to an existing system and activate this software class. If this system is not assigned to a configuration group, a new configuration group will be created; it has either the allocated group name or the name is made up of „Domain\ComputerName“.
- Empirum Interface Service: ActionType = 5, ActionCode = 58, TargetObjectType = 8
Parameter
| Parameter | Example | Variants | General |
|---|---|---|---|
| ClientID | 102 | {InventoryID} or {ClientName + (Domain / Workgroup)} |
|
| ClassID | {SwClassName} | GroupID from the Empirum database |
Optional Parameter
| Parameter | Example | Variants | General |
|---|---|---|---|
| DistributionCommand | 3 | Default value = install update. See Distribution Commands | |
| SchedulerString | now | Default value = now. See Scheduler String | |
| RevokeCount | 0 | Default value = 0 | |
| FilterID | |||
| GroupName | NewGroup | If a new group is created, it has either the allocated group name or the name is made up of „Domain\ComputerName“. | |
| WOL |
From Version Empirum v14 Patch02
| Parameter | Example | Variants | General |
|---|---|---|---|
| GroupID | 10C8EC3E-0146-4E78-8D0B-C83084053D46 | If the GroupID is not set, the software is only assigned to a computer which is assigned to a configuration group. If the GroupID is set, the software is assigned to a computer which is assigned to a configuration or an assignment group. |
Read also: