Announcements
No record found.
How to lock fields on form based on roles
Hello,
This is not doable via customization but you can do it using some JavaScript - muralikrishnasabbavarapublog.wordpress.com/.../
How to lock fields based on roles using userSettings.roles
Can you please not create threads that duplicate one another? Here are threads that can help you:
Here is how you can enable/disable control - docs.microsoft.com/.../setdisabled
This post describes on how you can check if current users has the specific role using userSettings.roles - www.businessintelligenceinfo.com/.../get-user-security-role-name-from-context-in-dynamics-365-ce
You can use field security to secure your field contents to be edited or even you can hide the contents for unauthorized person. Please refer below article:
docs.microsoft.com/.../field-level-security
Helpful?? Please mark my solution as verified.
Please follow below recommendations from Andrew Butenko and mark them as answer.
Please follow recommendations from Andrew Butenko and mark them as answer.
If you uses field level security, the filed won't be accessible except for users who is assigned enough privileges.
Please check below or we recommend you to raise a support ticket for further investigation if you need further support.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 180 Super User 2026 Season 1
11manish 123
CU11031447-0 100