public static WFRole GetRole(string roleName) { IWFAdminService svc = Common.GetAdminAPI(); WFRole role = null; try { role = svc.GetRole(roleName); } catch (Exception ex) { } return(role); }