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

Description

Links a package to a business unit


Syntax

Public Function RemoveUnitFromGroupBU(ByVal unitName As String, ByVal unitType As String, ByVal groupName As String, ByVal groupType As String, businessUnitName As String) As Boolean


Parameters

UnitName (String)

The name or uuid of the unit.


UnitType (String)

Type of package

  • "Computer"
  • "User"

GroupName (String)

The name of the group in the BusinessUnit.


GroupType (String)

The type of the Group

  • Dynamic_ADSI
  • Calendar
  • Catalog
  • Department
  • Dynamic_SQL
  • Reinstall
  • Security
  • Static
  • Custom
  • PowerScheme


BusinessUnitName (String)

The name of the business unit

Return Value

The function returns true if successful.


Example


VBScript


Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
wscript.echo oCMS.RemoveUnitFromGroupBU("A8ADE49A-6621-490A-9C22-24F0DDE20A41""Computer", "CAD Stations", "Static", "HQ Skanderborg")


  • No labels