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 :
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,064 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

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans