Since it's the holidays we won't cover anything too difficult today. :) BUT... this is leading up to something much greater in the near future so stay tuned.
This illustration shows how to determine the user, business unit, and organization id's of a calling user in Microsoft Dynamics CRM 2011 with WhoAmIRequest. This example will be given in VB.NET
This illustration shows how to determine the user, business unit, and organization id's of a calling user in Microsoft Dynamics CRM 2011 with WhoAmIRequest. This example will be given in VB.NET
Ok, here is what the code looks like!
In VB.NET
In VB.NET
Dim req As New WhoAmIRequest()
Dim resp As WhoAmIResponse = DirectCast(slos.Execute(req), WhoAmIResponse)
Thats all there is to it!
-
-
No comments:
Post a Comment