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

isApplication (webtop script and webtop tray applets)

Syntax

String isApplication(String objectName)

Description

Returns "TRUE" if the object is an application; otherwise, it returns "FALSE".

objectName is 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

verdict = applet.isApplication(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
if (verdict == "TRUE")
    alert("The object is an application!");
else
    alert("The object is NOT an application!");

Displays a dialog indicating whether the Phone List object is an application or not.

Related topics