public static WFRole[] GetRoles() { IWFAdminService svc = Common.GetAdminAPI(); WFRole[] roles = null; try { roles = svc.GetRoles(); } catch (Exception ex) { } return(roles); }