getApplication

getApplication takes an Application Name and returns the matching Application Object.


Usage:


getApplication(FQN)


Where:


FQN: Is the qualified name of the Application to be retrieved.


Returns:


Application Object


A qualified name can include as many Domain names as necessary to uniquely identify the Application. If the Application name is unique within the Domains to which the invoking user has access then no qualification is necessary. Only if there is more than one Application with the same name (in different accessible domains) will it be necessary to qualify the Application name with the domain in which it is located.


Examples:


1) Retrieve an Application.


set appobject = getApplication("ITGuys");


2) Retrieve an Application specifying the enclosing domain:


set appobject = getApplication("Project1.ITGuys");


See Also:

getComponent(), getcredential(), getEnvironment(), getserver(), getuser(), getusergroup()