Methods / Group, Role, and Rights |
Web Services
Retrieves all the group objects in the system.
public virtual WFGroup[] GetGroups()
Name | Description |
---|---|
None | Not Applicable |
An Array of WFGroup objects.
IWFAdminService svc = GetAdminService(); try { WFGroup[] apGroups = svc.GetGroups(); Console.WriteLine("AgilePoint Group {0} has {1} members:", groupName, grpMembers.Length); Console.WriteLine("AgilePoint Groups:"); foreach(WFGroup grp in apGroups) { System.Console.WriteLine("Name:{0};Group Lead:{1} ", grp.Name, grp.ResponsibleUser); } } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } /* This example produces the following results: AgilePoint Groups: Name:Administrators;Group Lead:\Administrator Name:Domain Users;Group Lead:VITBDC\amarnv */
3.2.0.4 and higher