Beispiel #1
0
        public Microsoft.Xrm.Sdk.IOrganizationService service(Guid?userid = null)
        {
            crmService Service = new crmService();

            if (userid != null)
            {
                return(Service.GetOrganizationService(userid.Value));
            }
            return(Service.GetOrganizationService());
        }
Beispiel #2
0
        public Microsoft.Xrm.Sdk.IOrganizationService service(string username, string password)
        {
            crmService Service = new crmService();

            return(Service.GetOrganizationService(username, password));
        }