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

isApplication (webtop script and webtop tray applets)

Syntax

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

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