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 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...