tag:blogger.com,1999:blog-8768186835369852617.post4184839382435657699..comments2024-03-29T00:15:27.045-07:00Comments on Life and Technology: Get Current User ID and Organization ID from Microsoft Dynamics CRM 2011 In SIlverlight Using WhoAmIRequestJamie Mileyhttp://www.blogger.com/profile/16109612970870135278noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8768186835369852617.post-44290854633756825852012-03-06T11:02:01.038-08:002012-03-06T11:02:01.038-08:00Very true!!! You keep up the good work also! Jus...Very true!!! You keep up the good work also! Just bear in mind that your solution will only work if the Silverlight XAP is part of a web resource that you upload into the application.Jamie Mileyhttps://www.blogger.com/profile/16109612970870135278noreply@blogger.comtag:blogger.com,1999:blog-8768186835369852617.post-69395948727471155002012-03-06T10:56:55.269-08:002012-03-06T10:56:55.269-08:00and without soap request, you can call javascript ...and without soap request, you can call javascript xrm context to get user id, like:<br /><br />dynamic xrmObj = (ScriptObject)HtmlPage.Window.GetProperty("Xrm");<br /><br />return new Guid(xrmObjeto.Page.context.getUserId());<br /><br />Good job with your excellent blog posts!<br /><br />Christophe Trevisani Chavey.<br />www.virtualgroup.com.brChristophe Trevisani Chaveyhttps://www.blogger.com/profile/15033835422932879666noreply@blogger.com