---
title: "Filtering by user role"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview-pro/advanced-filter/filtering-by-user-role/"
---

If you want to display only entries created by users with a specific role, you can do that with the [Advanced Filters extension](https://www.gravitykit.com/products/advanced-filter/).

Note: This functionality requires GravityView 2.0.14. Filtering by role may not work correctly in earlier versions.

## When editing a View, scroll to the Settings Panel and click the "Filter & Sort" tab:

![Filter & Sort option highlighted in a settings menu with entry and permission options](https://www.gravitykit.com/wp-content/uploads/2025/10/file-SGWDQbSFh5.png)

## Click the "Add Condition" button

![Add Condition button in Filter & Sort View Setting](https://www.gravitykit.com/wp-content/uploads/2026/04/r0GhL3.png)

## Then choose "Created By User Role" from the first dropdown

![Select 'Created By User Role' from the form field dropdown](https://www.gravitykit.com/wp-content/uploads/2026/04/sCoHcv.png)

## Choose the role you wish to display entries from

![A drop-down showing all the roles for the site (Administrator, Subscriber, etc)](https://www.gravitykit.com/wp-content/uploads/2026/04/39ZgNg.png)

## If you choose "Any Role of Current User", the currently logged-in user's roles will be used

![Filter configured with 'Any Role of Current User' selected](https://www.gravitykit.com/wp-content/uploads/2026/04/WKqDIM.png)

## You can also use "is not"!

You can exclude entries created by users with specific roles by selecting the "is not" comparison from the filter dropdown.

To show all entries that were **not created** by site administrators, you could add this configuration: "Created By User Role" "is not" "Administrator", as shown below.

![Filter configured to hide all entries created by administrators by setting the filter value to 'Created By User Role' 'is not' 'Administrator'](https://www.gravitykit.com/wp-content/uploads/2026/04/GKfRLx.png)