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 :
Service | Customer Service, Contact Center, Fie...
Answered

Get role information in external app

(0) ShareShare
ReportReport
Posted on by 42

Hi everyone.

Is it possible to get information about what kind of privileges a Security Role has in a C# code?

If it is possible then is it possible to know the level of privilege (User, Business Unit, Organization...)

Thanks.

pastedimage1624887456265v1.png

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi,

    Please refer to the following links which may help you.

    (+) Retrieve All Privileges for a Security Role in C# - Microsoft Dynamics 365 Community

    RetrieveRolePrivilegesRoleRequest Class (Microsoft.Crm.Sdk.Messages) | Microsoft Docs

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans