web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,799

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

I have the same question (0)
  • 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,799 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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans