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

getParentGroupName (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString getParentGroupName(String objectName)

Description

Returns the full TFN name of objectName's parent. If the parent is the top level of the hierarchy and the webtop is in hierarchy mode, "TopLevel" is returned. If the webtop is not in hierarchy mode, "FlatWebtop" is returned.

objectName is the full TFN name of an application on the user's webtop.

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

Examples

Skip past command syntax or program codeparName = applet.getParentGroupName(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
alert("Application parent name is: " + parName);

Displays the name of the parent of the Phone List object in the webtop hierarchy.

Related topics