Friday, March 4, 2016

Create Access Teams in c#

Hi,


Create Access Team Template based on c# code.


Entity teamtemplate = new Entity("teamtemplate");
teamtemplate.Attributes["teamtemplatename"] = TeamName;
teamtemplate.Attributes["teamtemplateid"] = TeamGuid;
teamtemplate.Attributes["defaultaccessrightsmask"] = Convert.ToInt32(accessRights);
teamtemplate.Attributes["objecttypecode"] = typecode;

orgService.Create(teamtemplate);

No comments:

Post a Comment

Day 23: Creating New Records Programmatically with JavaScript in Dataverse / MSCRM

In this Blog, we will see how to Create New Records Programmatically with JavaScript in Dataverse / MSCRM var record = {}; record.bosch_day...