Get Current User Using GET
Using this method, one can look up the details of a user initiated this API method.
Note: The provided hrefs are functional for the users with 'administration.accesscontrol.viewpage' (View Access Control Page) privilege.
Details of the user initiated this API method
{
"Last login time": 0,
"distinguishedName": "string",
"emailAddress": "string",
"enabled": false,
"firstName": "string",
"groupIds": [
"string"
],
"id": "string",
"lastName": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"password": "string",
"role-permissions": [
{
"allowAllObjects": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"roleName": "string",
"traversal-spec-instances": [
{
"adapterKind": "string",
"includedAdapterKinds": [
"string"
],
"name": "string",
"resourceKind": "string",
"resourceSelection": [
{
"resourceId": [
"string"
],
"type": "string"
}
],
"selectAllResources": false
}
]
}
],
"roleNames": [
"string"
],
"username": "string"
}
Last login time
distinguished name of the current user.
The email address of the current user
Is the current user's account enabled?
First name of the current user.
The list of group ids to which the current user belongs to.
Identifier of the user in the system.
The last name of the current user.
Password of the user object. When creating a new local user, this field has to be specified.
List of role permissions assigned to this user. May be null. Replaces and takes precedence over roleNames
(Deprecated) List of role names assigned to the user. May be null.
Username of the current user.