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

getApplicationType (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString 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

Skip past command syntax or program codeobjType = 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