Set Group Folder
Description
Section titled “Description”Sets the folder structure of the group
Syntax
Section titled “Syntax”SetGroupFolder(ByVal groupName As String, ByVal groupType As String, ByVal folderStructure As String) As Boolean
Parameters
Section titled “Parameters”groupName(String)
- Name of the group
groupType (String)
The type of group to retrieve.
- “Dynamic_ADSI”
- “Department”
- “Dynamic_SQL”
- “Static”
FolderStructure (String)
A string representation of the folder structure, example: newFolder\newFolder2
If one or more of the folders doesn’t exist, they are created.
If this is an empty string, the package is removed from its current folder, and moved to the root.
Return value
Section titled “Return value”Boolean. The function returns True if successful, otherwise false.
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")oCMS.SetDefaultManagementPoint("1")Wscript.echo oCMS.SetGroupFolder("Default","Static","Upgrade\Default\test")