public static WFRoleMember[] QueryRoleMembers(string roleName, string sql) { IWFAdminService svc = Common.GetAdminAPI(); WFRoleMember[] roleMembers = null; try { roleMembers = svc.QueryRoleMembers(roleName, sql); } catch (Exception ex) { } return(roleMembers); }