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

PropertyReturnsDescription
emailStringThe wrapped profile's email address.
firstNameStringThe wrapped profile's first name.
membershipsGroupList<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.
phoneStringThe wrapped profile's phone number.
surNameStringThe wrapped profile's surname.
userIdLongThe 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.