Class AC.data.User
Represents a user.
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AC.data.User(msg)
Creates a new user from the specified message.
|
Method Attributes | Method Name and Description |
---|---|
getAttribute(key)
Gets an attribute's value from the message based on the specified attribute key.
|
|
Gets the user's disabled flag.
|
|
getEmail()
Gets the user's email.
|
|
Gets the user's first name.
|
|
Gets the user's fromDate.
|
|
getId()
Gets the user's id.
|
|
Gets the user's last name.
|
|
Gets the user's pending approval flag.
|
|
Gets the user's system roles.
|
|
Gets the user's toDate.
|
|
Gets the user's user name.
|
|
Gets the user's workspace roles.
|
Class Detail
AC.data.User(msg)
Creates a new user from the specified message.
- Parameters:
- msg
- a JSON message
Method Detail
getAttribute(key)
Gets an attribute's value from the message based on the specified attribute key.
- Parameters:
- {String} key
- the key of the message attribute.
- Returns:
- the value of the message attribute
getDisabledFlag()
Gets the user's disabled flag.
- Returns:
- the user's disabled flag
getEmail()
Gets the user's email.
- Returns:
- the user's email
getFirstName()
Gets the user's first name.
- Returns:
- the user's first name
getFromDate()
Gets the user's fromDate.
- Returns:
- the user's fromDate
getId()
Gets the user's id.
- Returns:
- the user's id
getLastName()
Gets the user's last name.
- Returns:
- the user's last name
getPendingApprovalFlag()
Gets the user's pending approval flag.
- Returns:
- the user's pending approval flag
getSystemRoles()
Gets the user's system roles.
- Returns:
- the user's system roles
getToDate()
Gets the user's toDate.
- Returns:
- the user's toDate
getUsername()
Gets the user's user name.
- Returns:
- the user's user name
getWorkspaceRoles()
Gets the user's workspace roles.
- Returns:
- the user's workspace roles