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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to differentiate custom vs oob security roles in advance find/fetxhxml or in plugin code

(0) ShareShare
ReportReport
Posted on by 5,237

Hi,

I will have to check if user have assigned OOb roles or system (OOB) security roles. 

Does anyone know how we can differentiate it ?

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: How to differentiate custom vs oob security roles in advance find/fetxhxml or in plugin code

    Hello,

    If CreatedBy is SYSTEM OR Blank then Role is System OOB Role else Role is custom role.

    CR43.PNG

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at
    RE: How to differentiate custom vs oob security roles in advance find/fetxhxml or in plugin code

    Hi Bipin,

    Thanks for the reply.

    If I add same filter criteria in advance find but it is showing custom security roles as well.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: How to differentiate custom vs oob security roles in advance find/fetxhxml or in plugin code

    Hi,

    I hope you have added filter condition as shown below -

    CR44.PNG

    I have tried this in my instance and it returns only custom roles.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 152 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 103

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 74

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans