Skip to main content

Search Users

Search for the enrollment users based on search criteria.FirstName, LastName, Email, LocationGroupID, Role, UserName can be used to search the enrollment users.Paging is supported together with page number and page size.Sorting is supported together with order by and sort order.Supported keywords for sorting are UserName, EmailAddress, FirstName, LastName, Name - Sorts by Organization Group Name, Active, EnrollmentUserID.A list of enrollment users will be present once the call is complete.

Parameters

ParameterDescription
EmailThe enrollment user email address to search for.
FirstnameThe enrollment user first name to search for.
LastnameThe enrollment user last name to search for.
Location Group IDThe enrollment user location group id to search for.
Order ByThe attribute sort based on.
Page SizeMaximum records per page. Default 500.
RoleThe enrollment user role to search for.
Sort OrderThe sort order, ASC for ascending and DESC for descending.
StatusThe admin status. Allowed values are Active or Inactive. Defaults to all, if this attribute is not specified.
UsernameThe enrollment user username to search for.

Example Output

{
"Page": 0,
"PageSize": 0,
"Total": 0,
"Users": [
{
"ContactNumber": "Gets or sets the enrollment user contact number.",
"CustomAttribute1": "Gets or sets the enrollment user custom attribute 1.",
"CustomAttribute2": "Gets or sets the enrollment user custom attribute 2.",
"CustomAttribute3": "Gets or sets the enrollment user custom attribute 3.",
"CustomAttribute4": "Gets or sets the enrollment user custom attribute 4.",
"CustomAttribute5": "Gets or sets the enrollment user custom attribute 5.",
"DeviceStagingEnabled": false,
"DeviceStagingType": 0,
"DisplayName": "Gets or sets the enrollment user display name.",
"Email": "Gets or sets the enrollment user email address.",
"EmailUserName": "Gets or sets the enrollment user email username.",
"EnrolledDevicesCount": "Gets or sets the enrollment user enrolled device count.",
"ExternalId": "Gets or sets the enrollment user external id.",
"FirstName": "Gets or sets the enrollment user first name.",
"Group": "Gets or sets the enrollment user organization group name.",
"Id": {
"Value": 0
},
"LastName": "Gets or sets the enrollment user last name.",
"LocationGroupId": "Gets or sets the enrollment user organization group id.",
"MessageTemplateId": "Gets or sets the enrollment user message template id.",
"MessageType": 0,
"MobileNumber": "Gets or sets the enrollment user mobile number.",
"OrganizationGroupUuid": "Gets or sets the enrollment user organization group uuid.",
"Password": "Gets or sets the enrollment user password.",
"ProvisioningSku": 0,
"Role": "Gets or sets the enrollment user role name.",
"SecurityType": 0,
"StagingMode": 0,
"Status": false,
"UserName": "Gets or sets the enrollment user username.",
"Uuid": "00000000-0000-0000-0000-000000000000"
}
]
}

Workflow Library Example

Email Mdm Gaps Report of Active Directory vs Workspace One Uem

Workflow LibraryPreview this Workflow on desktop