new module:model/UserProfile(theData, obj)
Constructs a new UserProfile.
user Profile
Parameters:
| Name | Type | Description |
|---|---|---|
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/UserProfile | Optional instance to populate. |
- Source:
Members
(static) constructFromObject
Constructs a UserProfile from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
- Source:
(inner) 2FaEnabled :Boolean
The user has enabled two-factor authentication or not
Type:
- Boolean
- Source:
(inner) emailId :String
The user’s email address
Type:
- String
- Source:
(inner) emailVerified :Boolean
The user’s email address has been verified or not
Type:
- Boolean
- Source:
(inner) firstName :String
The user’s first name
Type:
- String
- Source:
(inner) lastName :String
The user’s last name
Type:
- String
- Source:
(inner) profileImages :module:model/UserProfileProfileImages
Type:
- Source:
(inner) userId :String
The backend user ID of the profile
Type:
- String
- Source:
(inner) userName :String
The username chosen by the user
Type:
- String
- Source: