Apologies if I'm missing something obvious, but when I add a filter User:Roles to my view (users type) the default (locked) roles of 'authenticated user' and 'anonymous user' do not show up, but every other role I add, does.

I want to create a list of users and filter out the admins and (naturally) anonymous users. Currently the user 'Anonymous' shows up in my view (User list).

Comments

merlinofchaos’s picture

Status: Active » Fixed

That's because these roles do not actually appear in the database, so they can't be filtered on.

In reality, all users are 'authenticated user' except for uid 0 which is instead 'anonymous user'. In order to filter on those two, filter on the user name and set it to is or is not anonymous.

stevekerouac’s picture

Thanks. Sorry if I should have posted this in the forums, I never seem to get an answer there.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Thanks very much Merlin! Mr. Magic!