Class Index | File Index

Classes


Class AC.data.User

Represents a user.
Defined in: Utility.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new user from the specified message.
Method Summary
Method Attributes Method Name and Description
 
Gets an attribute's value from the message based on the specified attribute key.
 
Gets the user's disabled flag.
 
Gets the user's email.
 
Gets the user's first name.
 
Gets the user's fromDate.
 
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

Documentation generated by JsDoc Toolkit 2.0.0 on Sun Sep 23 2012 02:46:07 GMT-0500 (CDT)