SystemUser class in CRM2011 SDK Sample Code

℡╲_俬逩灬. 提交于 2019-12-06 10:42:57

The early bound classes must be generated from CRM and included in the project.

There is a utility in the SDK to do this: sdk\bin\CrmSvcUtil.exe

Open a command prompt and move to the bin folder.
Run the program with these parameters:

CrmSvcUtil.exe /username:kingjulian /password:julianisking /url:https://julian.madagascar.com/XRMServices/2011/Organization.svc /out:jCRM.cs /serviceContextName:Context
  • Username and password are self explanatory
  • url is the organization service url
  • out is the cs file to be generated
  • serviceContextName is the name of the class that you can instantiate and write Linq queries against.

Once jCRM.cs has been added to the project you will have access to the SystemUser class.
The file jCRM.cs is located in sdk\bin.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!