Methods / Group, Role, and Rights |
IWFAdminService svc = GetAdminService(); string rolName = ...// for example, "Administrators" try { WFRole role = adminService.GetRole(rolName); Console.WriteLine("Name = '" + role.Name + "' Description = '" + role.Description + "'"); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } /* This example produces the following results: Name = 'Administrators' Description = 'Administrators have complete access to maintain system' */