tag:blogger.com,1999:blog-7233186359690994418.post8624743741547749550..comments2023-04-07T16:52:30.185+03:00Comments on Freelance Development for Dynamics CRM: MS CRM 2011: How to check user rights on client sideAnonymoushttp://www.blogger.com/profile/03225186683208658482noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7233186359690994418.post-69549413498464988012012-10-11T09:01:54.307+03:002012-10-11T09:01:54.307+03:00I tested this code exactly in CRM 2011 and it work...I tested this code exactly in CRM 2011 and it works without any issues.Anonymoushttps://www.blogger.com/profile/03225186683208658482noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-31208809944150845152012-10-11T02:13:33.194+03:002012-10-11T02:13:33.194+03:00This woould work great in crm 4 as well, but with ...This woould work great in crm 4 as well, but with the introduction of odata in mscrm 2011, the codes to check for user roles and privilege can be dramatically shrunk down.kennhttps://www.blogger.com/profile/02958372718897922805noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-85623563725369809542012-09-26T20:35:43.094+03:002012-09-26T20:35:43.094+03:00Thank you Andrii, but fortunately I have made it w...Thank you Andrii, but fortunately I have made it work.<br />But I have a problem when the users are in a different BU that the roles. In that case your query return false, when actually I have that privilege.<br /><br />Do you have any idea?<br /><br />Thanks in advanceMictianhttps://www.blogger.com/profile/17280449070313779388noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-64197683908504792732012-09-26T12:11:20.872+03:002012-09-26T12:11:20.872+03:00Hello Mictian,
It seems that code highlighter does...Hello Mictian,<br />It seems that code highlighter doesn't work properly.<br />Leave your email in comment and I will send you a source code.Anonymoushttps://www.blogger.com/profile/03225186683208658482noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-75861769245863745622012-09-24T23:17:08.179+03:002012-09-24T23:17:08.179+03:00Hi Andrii.
first of all, thank you! I've been...Hi Andrii. <br />first of all, thank you! I've been looking for this code for a long time!<br /><br />I'm trying to use your code, but I don't know why I'm receving an error "Bad Request" en the xhr status is 400.<br /><br />Any idea?<br />WTW: The code that is in the post, isn't the same that the one in the popup window to copy it. The code from the popup has some xml directives.<br /><br />Thanks in advance.Mictianhttps://www.blogger.com/profile/17280449070313779388noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-49039857185290487932012-09-14T10:14:54.503+03:002012-09-14T10:14:54.503+03:00Hello,
It seems that I've found bug in this hi...Hello,<br />It seems that I've found bug in this highlighter.<br /><br />' is shown as ".<br /><br />To fix it you will have to go trough Soap Request and fix namespaces. For example<br /><a:columns xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><br />should look like<br /><a:columns xmlns:b='http://schemas.microsoft.com/2003/10/Serialization/Arrays'><br /><br />Anonymoushttps://www.blogger.com/profile/03225186683208658482noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-50785412547072816662012-09-14T09:52:24.664+03:002012-09-14T09:52:24.664+03:00Sorry Andri, For my above request. due to asynchro...Sorry Andri, For my above request. due to asynchronous code highlighting I got completely different view of code. Just after highlight I got to know it's actually a SOAP XML. Thanks.<br /><br />Anonymoushttps://www.blogger.com/profile/17971795811597808750noreply@blogger.comtag:blogger.com,1999:blog-7233186359690994418.post-39480940443294324942012-09-14T09:48:19.114+03:002012-09-14T09:48:19.114+03:00Hi Andri,
Does the request XML you created is a M...Hi Andri,<br /><br />Does the request XML you created is a MSFT standard declaration to check for the user privileges ? and if I pass "prvCreateContact" to CheckuserPrivilege function would it be checking for my privilege without not modification to your code ?<br /><br />If that can be done then it's marvellous.<br /><br />Also, Just a simple request please correct "Incident" spell in your alert. Hope it's have gone to production now Anonymoushttps://www.blogger.com/profile/17971795811597808750noreply@blogger.com