Genpact Cora Knowledge Center

Support

Create a New Group in the Organizational Structure

Use the API to create a new group in the organizational structure.

public static void CreateGroup(string name,int parentId)
{ 
        IObsService obsService = engine.GetServiceWithCheck<IObsService>();
        obsService.CreateGroup(name,parentId,
        false,true,string.Empty,true,obsService.GetDefaultCalendar());
}