Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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.

Image omitted: search-as.png
Search as configuration fields.
FieldDescription
Enable search asOption to enable the Search as functionality.
Search as fieldField defining the other user to search as. This field appears only when you select Enable search as.
Results messageMessage to display with search results when searching as a different user. This field appears only when you select Enable search as.
ConditionCondition 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.
ScriptA 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.

Result

The My Results tab displays search results for the currently logged-in user. The <user-name> Results tab displays search results for the user referenced in the Search as field.

Parent Topic:Managing contextual search