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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Active Discussion

User list by privileges

(0) ShareShare
ReportReport
Posted on by

Can we use `expand` key  for getting list of users with their privileges? There is something like I want to do, but with accounts and accounts tasks - https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/retrieve-related-entities-query?view=dynamics-ce-odata-9#retrieve-related-entities-by-expanding-collection-valued-navigation-properties.

*This post is locked for comments

  • David Jennaway Profile Picture
    14,065 on at

    This isn't possible. The main issue is that the user can get permissions from multiple roles, and then the privileges from these roles are combined, so it's not a simple expandable relationship. Theoretically it would be possible to create a virtual entity (or non-virtual with plugins on RetrieveMultiple) to query the roles and privileges, and expose then as if they were entity records, but this would be noticeable development effort

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans