# Get Unit Management Point

> Gets the management point ID the unit is linked to.

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

## 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**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.GetUnitManagementPoint("Klient","Computer") 
```
