Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

List of Users and Their Security Roles

(0) ShareShare
ReportReport
Posted on by 1,797

Hi, 

How can I get a list of all the Users within a system with the Security Roles assigned to them in CRM 2011 On-Prem. 

I can go through each User one by one, but was just seeing if there was a way to export an excel spreadsheet or something like that with the information. 

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: List of Users and Their Security Roles

    Interesting info on the out of the box report.

    harihar

  • JDMCRM Profile Picture
    1,797 on at
    RE: List of Users and Their Security Roles

    Thanks for the responses. Rajkumar that was what I was after, cheers.

  • Suggested answer
    anilambadan Profile Picture
    1,160 on at
    RE: List of Users and Their Security Roles

    Please try the fetchXml below to get this.

    <fetch mapping="logical" count="50" version="1.0">

    <entity name="systemuser">

    <attribute name="fullname" />

    <link-entity name="systemuserroles" from="systemuserid" to="systemuserid">

    <link-entity name="role" from="roleid" to="roleid">

    <attribute name="name" />

    </link-entity>

    </link-entity>

    </entity>

    </fetch>

  • anilambadan Profile Picture
    1,160 on at
    RE: List of Users and Their Security Roles

    You can do it using advanced find. please see the screenshot below.

    2514.users.PNG

    or please refer to the following link to do it with fetchXml

    https://community.dynamics.com/crm/b/crmmitchmilam/archive/2010/07/20/creating-a-query-to-find-all-users-with-a-specified-security-role

    thanks

    Anil

  • Verified answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: List of Users and Their Security Roles

    JD,

    Refer the following blog:

    www.powerobjects.com/.../dynamics-crm-user-summary-report

    community.dynamics.com/.../out-of-the-box-report-dynamics-crm-user-summary

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • stuart Profile Picture
    2,080 on at
    RE: List of Users and Their Security Roles

    Personally I'd just query the sql db using filteredsystemuser and filteredsystemuserroles

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans