IWFAdminService svc = GetAdminService();
string groupName = ...// for example, "Administrators";
try
{
WFGroupMember[] grpMembers = adminService.GetGroupMembers(groupName);
Console.WriteLine("AgilePoint Group {0} has {1} members:",
groupName, grpMembers.Length);
foreach (WFGroupMember grpMember in grpMembers)
{
Console.WriteLine("Member Name:{0}", grpMember.Member);
}
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
/*
This example produces the following results:
AgilePoint Group Administrators has 3 members:
Member Name:\Administrator
Member Name:VITBDC\yuvarajn
Member Name:vit-34\manager
*/