Methods / Group, Role, and Rights |
Web Services
Retrieves a group object with the specified group name.
public virtual WFGroup GetGroup(string groupName)
Name | Description |
---|---|
groupName |
|
WFGroup object. If the specified group does not exist, the output is null.
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 */
3.2.0.4 and higher