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

How to Run Microsoft Flow for Every one Month

Introduction: In this Blog we will see how to Run Microsoft Flow for Every one Month. Implementation Steps:   1. Navigate to  https://make.p...