Query the login_session resource type to find out basic information about the current session. The following table describes the information that is returned in response to a successful query of the login_session resource type:
Attribute | Description |
---|---|
id | The unique identifier of the login_session resource instance. |
user | Information about the user logged into this session defined by the local_user resource type. |
role_ids | Roles for the user who is logged into this session defined by the role resource type. |
idle_timeout | Number of seconds after last use until this session expires. |
is_password_change_required | Indicates whether the password must be changed in order to use this session created for the built-in admin account.
The values are:
For information about changing the password for a local user, see the Help topic for the local_user resource type in the Reference content. |
is_built_in_user | Indicates whether the user is a system-defined user, such as admin. |
[ { "id":"85d0dbfc-d364-47b9-ad90-0fe03efdf860", "user"1", "role_ids":["1"], "idle_timeout":36000, "is_password_change_required":false, "is_built_in_user":true } ]