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

Description

Adds the unit on which the script is executed to the specified Business Unit. UserJobs add user and ComputerJobs add the computer


Syntax

CMS_AddUnitToBusinessUnit(sBusinessUnitName) as Boolean

 

Parameters

sBusinessUnitName (String)

BusinessUnit name

 

Example

VBScript
If bStatus Then bStatus = CMS_AddUnitToBusinessUnit("CapaInstaller")

Scripting Guidelines

 

Related functions

CMS_RemoveComputerFromDepartmentGroup

  • No labels