Get Group Folder
Description
Section titled “Description”Gets the folder structure of a group
Syntax
Section titled “Syntax”GetGroupFolder(ByVal groupName As String, ByVal groupType As String) As String
Parameters
Section titled “Parameters”groupName(String)
- Name of the group
groupType (String)
The type of group to retrieve.
- “Dynamic_ADSI”
- “Department”
- “Dynamic_SQL”
- “Static”
Return value
Section titled “Return value”A string containing the folder of the group, i.e. ‘folder1\folder2’
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")oCMS.SetDefaultManagementPoint("1")sFolderStructure = oCMS.GetGroupFolder("Dell OptiPlex 760 Win 7", "Static")Wscript.echo sFolderStructure