Wraps a Profile entity loaded directly from the database as a manage-users search result, adapting it to the common IManageUsersResultDTO shape used by the manage users listing. Produced by DataBaseUserDataSource when searching profiles through the database rather than the search index.
Implements: IManageUsersResultDTO
Properties
| Property | Returns | Description |
|---|---|---|
String | The wrapped profile's email address. | |
| firstName | String | The wrapped profile's first name. |
| membershipsGroup | List<Integer> | The database ids of the groups the wrapped profile is a member of. This iterates the profile's group memberships, so is relatively expensive. |
| phone | String | The wrapped profile's phone number. |
| surName | String | The wrapped profile's surname. |
| userId | Long | The wrapped profile's database identifier. |
Methods
getFirstName()
Returns: String
The wrapped profile's first name.
getSurName()
Returns: String
The wrapped profile's surname.
getEmail()
Returns: String
The wrapped profile's email address.
getMembershipsGroup()
Returns: List<Integer>
The database ids of the groups the wrapped profile is a member of. This iterates the profile's group memberships, so is relatively expensive.
getUserId()
Returns: Long
The wrapped profile's database identifier.
getPhone()
Returns: String
The wrapped profile's phone number.