Skip to main content
Get the details of a user by its ID. Required Scope: Read Users, Manage users, Read All, or Manage All.
External DocumentationTo learn more, visit the OneLogin documentation.

Parameters

ParameterDescription
User IDThe ID of the user.

Example Output

{
	"id": 36216766,
	"firstname": "Kelly",
	"lastname": "Slater",
	"username": "kellyslater",
	"email": "[email protected]",
	"phone": "+64272001122",
	"company": "WSL",
	"department": "Waves",
	"title": "Surfer",
	"state": 1,
	"status": 3,
	"role_ids": [
		199848,
		272445
	],
	"group_id": null,
	"directory_id": null,
	"trusted_idp_id": null,
	"manager_user_id": null,
	"manager_ad_id": null,
	"external_id": null,
	"samaccountname": null,
	"userprincipalname": null,
	"distinguished_name": null,
	"member_of": null,
	"comment": "",
	"custom_attributes": {
		"employeenumber": null,
		"food": "chicken"
	},
	"invalid_login_attempts": 0,
	"preferred_locale_code": null,
	"activated_at": "2017-12-12T23:59:28.665Z",
	"created_at": "2017-12-12T23:57:56.781Z",
	"updated_at": "2020-07-09T03:08:52.774Z",
	"password_changed_at": "2019-08-22T18:44:26.542Z",
	"invitation_sent_at": null,
	"last_login": "2020-06-03T19:59:21.382Z",
	"locked_until": null
}

Workflow Library Example

Get User with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop