How to get an User name (first and last) and their roles within CRM. where i have only read only access in prod CRM
*This post is locked for comments
i need an security role
Hi,
If you are using D365, you can use User Summary report to see users and their respective security role.
Sale- > Reports
Select User Summary report and run the report.
Click on Export and choose the format you want to export the report.
Please mark the Answer verified if find helpful.
Thanks !
In XrmToolBox, there is a plugin called User, Team and Security Role Report.
In this plugin, Load Data and Check All users and security roles selected as shown below. Now select Generate Report.
Give a specific location for the report. When the report gets saved in the location, the data for the users and their security roles are also saved as a CSV file in the same location.
Hope this helps you.
select user.fullname, user.DomainName,role.Name
from SystemUser uers left join SystemUserRoles userrole on user.SystemUserId = userrole.SystemUserId
inner join Role role on role.RoleId = userrole.RoleId
where
user.IsDisabled = 0
The following query gives the name and Role
from SystemUser uers left join SystemUserRoles userrole on us.SystemUserId = userrole.SystemUserId
Caution:- this needs access to Database.
ok understood very near what would be the query could you pls help me out. will make as verified
Hi
I believe the best idea is to reach out to the support guys.... If your setup is on-prem they must be able to provide you the data with one sql query.
If it is online some work is needed where they might have to build a app in C# to do the same.
Since it's production please don't go with installing any other solutions if you are not confident.
Thanks
Phanidhar
ok, it is showing my security role how to find everyones under single spreadsheet
This is how you can navigate to security roles once you open CRM
1) Open the user record
2) Next to the name (which is on middle at the top) on top there will a arrow button.
3) Once you click this the related entities will be shown where you can find security roles
4) If you click on the security roles you will be able to see the roles associated with specific user.
then how can i check arround 370 users and their roles in my company
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Aric Levin - MVP 2 Moderator
MA-04060624-0 1