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

Description

Gets the folder structure of a group


Syntax

GetGroupFolder(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"
  • "Department"
  • "Dynamic_SQL"
  • "Static" 

Return value

A string containing the folder of the group, i.e. 'folder1\folder2'


Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")
oCMS.SetDefaultManagementPoint("1")
sFolderStructure = oCMS.GetGroupFolder("Dell OptiPlex 760 Win 7", "Static", "Computer")
Wscript.echo sFolderStructure



  • No labels