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

getObjectClass (webtop script and webtop tray applets)

Syntax

String getObjectClass(String objectName)

Description

Returns a string representing the application type. This string can be "scottahtmldocument", "scottacharacterapplication", "scottaxapplication", "scottawindowsapplication", "scottawebapplication", or "scottaGroupOfNames".

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

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

Displays a dialog indicating the type of the Phone List object.

Related topics