# Exercise 8.9: Edit the existing view to filter out roles

As seen in the screenshot from the previous exercise, the view we built shows the site administrator user. If we had multiple users in the Site Administrator role, all administrators would be listed here, in our view. In this exercise we hide those administrator users, by adding a role filter to our view.

1. Go to *Structure* → *Views* and locate our *Members* view. Click the **Edit** button.
2. Click the **Add** button next to the *Filter Criteria* section.
3. Search for “roles” and select **Roles** filter. Apply the changes.
4. In the next screen, select **Is none of** *operator* and select the **Site Builder** in the **Options** list.

   <img src="/files/OOFHKtXO9vQc2GOYfgW6" alt="Image of Members Filter settings" data-size="original">
5. Apply your changes and preview the result below.
6. Save the view and review the Members page. You shouldn’t see any users who have the **Site Builder** role.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://salsa-digital.gitbook.io/govcms-site-builder/unit-8-site-building-exercises/employee-list-and-custom-profiles/exercise-8-9-edit-the-existing-view-to-filter-out-roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
