Namespace for UserAgent access methods.
Properties:
| Name | Type | Description |
|---|---|---|
ADMIN |
string | Username for the SugarCRM administrative user. |
Methods
-
<static> as(username)
-
Return a
UserAgentwith the given user name and log them in.Parameters:
Name Type Description usernamestring Username of the user agent.
Returns:
A
UserAgentcorresponding to the user with the given username.- Type
- UserAgent