Page tree
Skip to end of metadata
Go to start of metadata

Description

 Gets the management point IDof which the Unit is linked to

Syntax

ExistUnitOnManagementPoint(ByVal unitName As String, ByVal unitType As String, CMPID As Integer) As Boolean


Parameters

UnitName (String)

The name of the unit

UnitType (String)

Type of Unit

  • "Computer"
  • "User"

CMPID (Integer)

  • The ID of the Management Point

Return Value

 Boolean. The function returns the True if the Unit Exist on the Point. Else False


Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.ExistUnitOnManagementPoint("Klient","Computer","1") 


Available from

CapaInstaller 5.2, build 102

  • No labels