getserver takes an Endpoint Name and returns the matching Endpoint Object.
FQN: Is the qualified name of the Endpoint to be retrieved.
A qualified name can include as many Domain names as is necessary to uniquely identify the Endpoint. If the Endpoint 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 Endpoint with the same name (in different accessible domains) will it be necessary to qualify the Endpoint name with the domain in which it is located.
1) Retrieve an Endpoint.
set server1 = getserver("Server1");
2) Retrieve an Endpoint specifying the enclosing domain:
set server1 = getserver("Project1.Server1");
getApplication(), getComponent(), getcredential(), getEnvironment(), getuser(),getusergroup()