Data in the user, group, and organization objects can be searched. Searching these objects returns user profiles and group and organization summary pages; each of which also lists any associated tickets.
You can search users, organizations, and groups by using the search tool that is displayed in the People page.
When you search from this page the results are restricted to this people data.
If you search using the global search tool, you need to also use thetypekeyword if you want to restrict results to specific types of data. If you don't, your search results will include matches from the data in your Zendesk.
The user data properties that can be searched are described in the tables below. All of the searchable data in your Zendesk (including ticket data) is described in Zendesk search reference.
The user and type keywords
To search for a user's profile data, you have the following two options.
Or, using thetype:userkeyword:
What's the difference between the two? The keyworduserwhen not combined withtypeis just a shortcut for finding users by ID, name, and email address. Theuserkeyword, like the ticket user role keywords (assignee, requester, submitter), accepts the ID, name, and email address as valid user identifiers.
If you want to search for additional user data, such as the user's phone number, the organization they belong to, and so on, you need to usetype:user.
type:user tags:beta_user organization:customers
This example also illustrates the usefulness oftypekeyword. With it you can search for user data that is shared by more than one user. You can search for users that are in the same organization or group or any of the other searchable user data. For more information about thetypekeyword, see Using the type keyword.
Thetypekeyword is also used to search the group and organization data objects.
The user data object contains all of the user properties that you can set in the user profile. Not all of the user profile data is searchable; those properties that are searchable are described in the following table.
Note: You can't currently search for users by their role.