Secure Global Desktop Administration Guide > Applets > getParentGroupName (webtop script and webtop tray applets)

getParentGroupName (webtop script and webtop tray applets)

Syntax

String 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

parName = 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