Announcements
Hi,
Is there any way to generate a list of all user with one particular security role irrespective of their BU ?
If so, Please let me know the steps to generate it
Thanks!
*This post is locked for comments
Hi
Please try the following query
And the following is the FETCH
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"> <entity name="systemuser"> <attribute name="fullname" /> <attribute name="businessunitid" /> <attribute name="title" /> <attribute name="address1_telephone1" /> <attribute name="positionid" /> <attribute name="systemuserid" /> <order attribute="fullname" descending="false" /> <link-entity name="systemuserroles" from="systemuserid" to="systemuserid" visible="false" intersect="true"> <link-entity name="role" from="roleid" to="roleid" alias="aa"> <filter type="and"> <condition attribute="roleid" operator="eq" uiname="System Administrator" uitype="role" value="{9339D0CA-D24A-E911-A997-002248072C26}" /> </filter> </link-entity> </link-entity> </entity></fetch>
You can also use the following XrmToolBox plugin to see the list of all the users who have particular role and a particular user's security roles.
If you click on the user or team on the left side it will display the sec roles on the right
if you select a sec role on the right panel, it will show the list of users for that role
Hello,
Check the below similar links:
community.dynamics.com/.../168051
community.dynamics.com/.../203914
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.