--- title: Enable viewing of search results for the current and another selected user description: Enable the search as functionality when you want the ability to view search results common to the current user and another user that you specify. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/contextual-search/t\_SearchAsDifferentUser.html release: australia product: Contextual Search classification: contextual-search topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Managing contextual search, Contextual search, Search administration, Configure core features, Administer the ServiceNow AI Platform] --- # Enable viewing of search results for the current and another selected user Enable the search as functionality when you want the ability to view search results common to the current user and another user that you specify. ## Before you begin Role required: admin ## About this task For example, an HR administrator may have some confidential information. A user might have partial access to the information. The Search as functionality applies security access to display results that are common to both the logged in or current user and the user referenced in the **Search as field**. The search result for the other user may have fewer entries than what that current user can actually view. **Note:** No search result is displayed for **Predictive Intelligence Similarity** additional resources. Record producers only support searching for the current user. ## Procedure 1. Navigate to **All** > **Contextual Search** > **Table Configuration**. 2. Edit a table configuration record. 3. In the Search as section, fill in the fields. \[Omitted image "search-as.png"\] Alt text: Search as configuration fields.
| Field | Description |
|---|---|
| Enable search as | Option to enable the Search as functionality. |
| Search as field | Field defining the other user to search as. This field appears only when you select **Enable search as**. |
| Results message | Message to display with search results when searching as a different user. This field appears only when you select **Enable search as**. |
| Condition | Condition restricting when the search result of the user mentioned in the **Search as field** should appear. This field appears only when you select **Enable search as**.**Note:** Both **Condition** and **Script** must evaluate to true for search results to appear. An empty condition or script also evaluates to true. |
| Script | A condition script, enabling administrators to implement more powerful conditions. For example, to restrict access to users that are members of a group, use gs.getUser\(\).isMemberOf\("<group name>"\). This field appears only when you select **Enable search as**.**Note:** Both **Condition** and **Script** must evaluate to true for search results to appear. An empty condition or script also evaluates to true. |