14. Dezember 2011 17:18
CrmService service = new CrmService();
service.Credentials = System.Net.CredentialCache.DefaultCredentials;
// bzw
service.Credentials = new System.Net.NetworkCredential(<...Parameter...>);
public void Execute(IPluginExecutionContext context)
{
ICrmService iservice = context.CreateCrmService(true);
...