Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

How do we know that how many security roles has read,write permissions on particular field security enabled?

Posted on by 30

I got a question to dig out for there is a field called "A" security enabled  in a form and I have to create another field "B" enable field security and assign the security roles like A.

Is there any way that I can found what are the security roles has been assigned to field "A" ?

  • yanoh Profile Picture
    yanoh 155 on at
    RE: How do we know that how many security roles has read,write permissions on particular field security enabled?

    You can use following API to confirm the security settings of field.

    https://<orgURL>/api/data/v9.0/fieldpermissions?$select=attributelogicalname,canread,canupdate,cancreate,_fieldsecurityprofileid_value

    The value "4" means Allowed.

    If you want to check which security profile has the permittion settings, you can use "_fieldsecurityprofileid_value" value to retrieve the security profile by following API.

    https://<orgURL>/api/data/v9.0/fieldsecurityprofiles(<_fieldsecurityprofileid_value>)

    Documents:

    docs.microsoft.com/.../fieldpermission

    docs.microsoft.com/.../fieldsecurityprofile

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: How do we know that how many security roles has read,write permissions on particular field security enabled?

    You can get this from the following entities:

    • fieldsecurityprofile
    • fieldpermission - this has a N:1 relationship with fieldsecurityprofile
    • systemuserprofiles - this is the intersect entity for the N:N relationship between fieldsecurityprofile and a user
    • teamprofiles - this is the intersect entity for the N:N relationship between fieldsecurityprofile and a team

    Note that you may have multiple fieldsecurityprofile records

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans