# Get Business Units

> Returns a list of Business Units.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/system-sdk-functions/get-business-units/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Get a list of Business Units.

## Syntax

GetBusinessUnits() as ArrayList

## Parameters

None.

## Return value

The function returns an array of Business Unit. Each Business Unit (BU) in the array is a joined line with the character defined with [Set splitter](/capainstaller/sdk-capainstaller-software-development-kit-functions/container-functions/set-splitter/). 

- businessUnit.Name
- businessUnit.GUID
- businessUnit.Id

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set arrBU = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
Set arrBU = oCMS.GetBusinessUnits() 
for each bu in arrBU
  wscript.echo bu
next 
```
