Get application groups

Description

Gets a list of application groups.


Syntax

GetApplicationGroups() as ArrayList


Parameters

None


Return value

ArrayList. An array containing all application groups. Each element in the arraylist consists of a string with these attributes; 

  • app.ID
  • app.Name 
  • app.Version  
  • app.Vendor  
  • app.AppCode  
  • app.Description 
  • app.GUID.

Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
Set aUnit =  oCMS.GetApplicationGroups() 
for each item in aUnit 
  wscript.echo item 
next