# Get Group Description

> Returns the description of a group.

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

## Description

Returns the description of the group

## Syntax

GetGroupDescription(ByVal groupName As String, ByVal groupType As String) As String

## Parameters

groupName(String)

- Name of the group

*groupType (String)*

The type of group to retrieve.

- "Dynamic\_ADSI"
- "Calendar"
- "Department"
- "Dynamic\_SQL"
- "Reinstall"
- "Security"
- "Static"

## Return value

A String that contains the description of the group

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.GetGroupDescription("Default","Static") 

```
