public static WFRole AddRole(String roleName, String description, int[] rights, bool enabled) { IWFAdminService svc = Common.GetAdminAPI(); WFRole role = null; try { role = svc.AddRole(roleName, description, rights, true); } catch (Exception ex) { } return(role); }