I added a term reference field (field_department_term_ref) to user entity (/admin/config/people/accounts/fields), then I need use Views to list all the users with the same term as current logged in user (including current logged in user himself). I referenced this post, But unfortunately there are 2 differences:
- Contextual filter "User: field_department_term_ref" can not get the right default value.
- If I don't select the "Exclude" checkbox in the MORE section, it will only show current user himself; if not, it will show others users but no current user.