Methods / Group, Role, and Rights |
IWFAdminService svc = GetAdminService(); string groupName = ...// for example, "Administrators"; try { WFGroup grpInfo = svc.GetGroup(groupName); Console.WriteLine("Group Name:{0}; Group Lead:{1}", grpInfo.Name, grpInfo.ResponsibleUser); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } /* This example produces the following results: Group Name:Administrators; Group Lead:\Administrator */