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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

API to get record level and access level privileges of a user

(0) ShareShare
ReportReport
Posted on by 60

Is there any API through which I can get a user's access level and record level privileges? First, I want to check if a user has access to a specific entity, and then I want to check what documents a user can access out of all the records in that entity.  

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi restassured,

    You can get all privilege of the user by this API:

    RetrieveUserPrivileges Function (Microsoft.Dynamics.CRM) | Microsoft Docs

    And this API for the record privilege:

    RetrievePrincipalAccess Function (Microsoft.Dynamics.CRM) | Microsoft Docs

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans