Secure Global Desktop Administration Guide > Applets > getParentGroupName (webtop script and webtop tray applets)
String getParentGroupName(String objectName)
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.
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.
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.