have some questions on using Field level Security for some requirement..
Please help?
*This post is locked for comments
Just found this - should answer #4
getUserPrivilege
Returns an object with three Boolean properties corresponding to privileges indicating if the user can create, read or update data values for an attribute.
Hi,
as for #1, just to clarify, you can use update without read:
www.itaintboring.com/.../masked-fields-in-dynamics-365
I'm pretty sure you will get null for such fields if you query them through Web API/SDK.
As for the javascript.. Wondering what will happen if you use getValue on the control(at least on the text controls). Might just give you "***"
Everything else is as Henry suggested..
1. I believe that if you only have the update privilege you will not be able to see values in values. You need Read.
2. The most permissive rights are applied
3. What do you mean default value for an option set ? People will not be able to set data in it if they don't have the create / write privilege
4. I don't think such an easy method exist. You could do a JavaScript calling an action to check privileges.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156