Skip past navigation linksSecure Global Desktop Administration Guide > Applets > openHierarchyLevel (webtop script and webtop tray applets)

openHierarchyLevel (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString openHierarchyLevel(String location)

Description

Obtains the members of a group object and makes the contents available for scripting.

For location, use the full TFN name of the group to open.

Returns "OK" if the operation succeeds, or "Error" if it fails.

The parent of the group must be open for any group to open correctly.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

Skip past command syntax or program codeverdict = applet.openHierarchyLevel(".../_ens/o=Indigo Insurance/cn=Applications");
if (verdict == "OK")
    alert("Contents of application group downloaded!");
else
    alert("Error!");

Obtains the members of the Applications group, and displays a dialog reporting success or failure.

Related topics