Methods / Group, Role, and Rights |
Name | Type | Description |
---|---|---|
groupName | string | A string that contains the name of the group. |
description | string | A string that contains the description of an entity. |
responsibleUser | string | A string that contains the name of the responsible user of this group. The responsible user must be a registered AgilePoint user. |
enabled | bool | A Boolean value: True enables the entity; False disables the entity. |
IWFAdminService svc = GetAdminService(); string groupName = ...; string description = ...; string responsibleUser = @"[Domain Name]\[Account Name]", // Group Lead User Name bool enable = true; try { WFGroup group = svc.AddGroup(groupName, description, responsibleUser, enable); } catch( Exception ex ) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }