Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Search as different user

Log in to subscribe to topics and get notified when content changes.

Search as different user

When you define contextual search for tables, you can choose to display search results as they would appear to a different user who performs the search.

About this task

For example, an HR administrator may want to display contextual search results, for a user who made an HR request, to find out why these results did not answer the user's query.

Note: The results for the user performing the search are based on that specific user's security access. Hence, the search result view for that user may have fewer entries than what that user can actually view.


  1. Navigate to Contextual Search > Table Configuration.
  2. Open a table configuration record.
  3. In the Search as section of the form, fill in the fields as appropriate.
    Search as configuration fields
    Table 1. Search as configuration fields
    Field Description
    Enable search as Check box use search as functionality.
    Search as field The field on the table to identify the user to search as. You can only select User Reference fields.

    For example, select Opened by to search as the user who opened the relevant record.

    Condition Specify the conditions based on which the search as results are displayed.
    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").
    Note: Both Condition and Script must evaluate to true for the results to be displayed.
    Note: An empty script evaluates to true.


When an eligible user opens the form for this table and enters search terms, two tabs are displayed: one with the search results the user sees (My results), and one with the search results the other defined user sees (<User name>'s results).