Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

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

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.  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: API to get record level and access level privileges of a user

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans