Announcements
No record found.
Hi All,
How can we give Access privilege to a user using javascript and remove the privilege? I want to give Read Global privilege to an entity ?
*This post is locked for comments
Hi Jishad,
Use this:
lakshmanindian.wordpress.com/.../field-level-security-user-privileges-for-a-particular-attribute-using-javascript-in-crm-2011-crm-2013
lakshmanindian.wordpress.com/.../check-user-security-role-in-crm-2011-using-jscript
Hope this helps.
Regards,
R.Rajkumar
"Please mark my answer as verified if you found it helpful"
Doing that will easy from server side code, but still if you have requirement you need to use SOAP call to implement your requirement. You need to use GrantAccessRequest : Check this: msdn.microsoft.com/.../microsoft.crm.sdk.messages.grantaccessrequest.aspx
To write your code easily you can use SOAP logger that comes with CRM SDK Check this post it will help you to write your request: nishantrana.me/.../updated-soaplogger-for-crm-2013-to-generate-javascript
Thanks
Hi Rajkumar,
The above post is to get the security role.
how the SOAP logger is used
Did you check the second link that I have provided?? SOAP logger is a console application that comes with CRK SDK which help you to convert server side code to client side, you can open this tool and write your code there, run that application it will generate SOAP request for you. After that you can take that code to write you SOAP request using java script.
Hi Himbap,
I write the code in Soaplogger and run the code but nothing is generated in the output text file.
Can you find any resolution?
How can I give Access privilege to a user using javascript?
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.
JS-09031509-0 3
AS-17030037-0 2
Mark Eckert 2