Get Unit Management Point
Description
 Gets the management point IDof which the Unit is linked to
Syntax
GetUnitManagementPoint(ByVal unitName As String, ByVal unitType As String) As String
Parameters
UnitName (String)
The name of the unit
UnitType (String)
Type of Unit
- "Computer"
- "User"
Return Value
 String. The function returns the ID of the Point
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.GetUnitManagementPoint("Klient","Computer")
Available from
CapaInstaller 5.2, build 102