admin.users.session.getSettings
method
Usage info
This Admin API returns the provided users' session settings. Session settings include a duration (the amount of time a session can last) and whether the session should be terminated when the client is closed.
If a provided user does not have any session settings, they will be omitted from the response.
If you'd like to set session settings for a given user, use the admin.users.session.setSettings
method.