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

getApplicationType (webtop script and webtop tray applets)

Syntax

String getApplicationType(String objectName)

Description

Returns the object type of objectName. This can be "DOCUMENTTYPE", "GROUPTYPE", or "APPLICATIONTYPE".

For objectName, use the full TFN name of an object on the user's webtop.

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

Examples

objType = applet.getApplicationType(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
alert("The object type is: " + objType);

Obtains and displays the type of the Phone List object.

Related topics