web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to search for all users with a specific security role?

(0) ShareShare
ReportReport
Posted on by

I tried doing an Advanced Find under 'Users' and then using the 'Related' security role with security role equals "System Admin" but it isn't bringing up the accurate users who have this.  Is there a better more accurate way to do this?

*This post is locked for comments

I have the same question (1)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Could you please provide a screenshot of Advanced Find View query you use?

  • Daniela Ciupa Profile Picture
    on at

    Create an Advanced Find on Users.

    Choose "Security Roles" and from that entity choose field "Security Role". Equals "System Administrator".

    When you search for your role, you will see 3 security roles with this name returned. Pick all of them.

    Run the query and you will get your list.

    Daniela

  • Daniela Ciupa Profile Picture
    on at

    You should add Status Equals "Enable" as another filter on your Advanced Find.

  • Suggested answer
    Community Member Profile Picture
    on at

    One way to make this query more robust is to use two joins.

    User > Security Role > Root security role = System Administrator

    Because every user is assigned to a copy of a role from their own Business Unit your query would only find users in one BU. By using this method you should get all users from all BUs including the root

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans