Hi guys! Are there any pre-requisites for using bizUser.WhoAmI() to
return a valid cUserAuth class?? Here is the code I'm using and I'm
getting nothing:
CRMPROXY.BizUser bizUser = new CRMPROXY.BizUser();
string strServer = "crmdemo";
string strDirectory = "/wwwroot/MSCRMServices";
bizUser.Url = "http://" + strServer + strDirectory +
"/BizUser.srf";
bizUser.Credentials =
System.Net.CredentialCache.DefaultCredentials;
CRMPROXY.CUserAuth userAuth = bizUser.WhoAmI();
I've referenced Microsoft.CRM.Proxy and System.Web.Services as "G"
(Greg Gawrylu) explained.
I'd appreciate it if anyone, G in particular, could point me in the
right direction.
Thanks
Jay