/
Get unit linked units
Get unit linked units
Description
Gets units linked to a unit
Syntax
GetUnitLinkedUnits(Byval UnitName as String, Byval UnitType as String) as ArrayList
Parameters
UnitName (String)
The name of the unit
UnitType (String)
Type of Unit
- "Computer"
- "User"
Return Value
The function returns an array of units. Each unit (unit) in the array is a joined line with the character defined with Set splitter.
- unit.Name
- unit.Created
- unit.LastExecuted
- unit.Status
- unit.Description
- unit.GUID
- unit.ID
- unit.Type.Name
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") Set aUnit = CreateObject("System.Collections.ArrayList") wscript.echo oCMS.SetDefaultManagementPoint("1") Set aUnit = oCMS.GetUnitLinkedUnits("Klient","Computer") for each item in aUnit wscript.echo item next
Related content
Get unit linked units
Get unit linked units
More like this
Get unit linked units
Get unit linked units
More like this
Get units
More like this
Get units
More like this
Get units
More like this
Get Unit Relations
Get Unit Relations
More like this