Namespace: Agent

thorn~ Agent

Namespace for UserAgent access methods.

Properties:
Name Type Description
ADMIN string

Username for the SugarCRM administrative user.

Methods


<static> as(username)

Return a UserAgent with the given user name and log them in.

Parameters:
Name Type Description
username string

Username of the user agent.

Returns:

A UserAgent corresponding to the user with the given username.

Type
UserAgent