Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Get role information in external app

Posted on by 40

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

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Get role information in external app

    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

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

Featured topics

Product updates

Dynamics 365 release plans