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

isGroup (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString isGroup(String objectName)

Description

Returns "TRUE" if the object is a group; 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.isGroup(".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List");
if (verdict == "TRUE")
    alert("The object is a group!");
else
    alert("The object is NOT a group!");

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

Related topics