public static ListItem Convert(DataAccessGroupInfo info)
        {
            string displayContent = GetRenderedHtml(info);

            var item = new ListItem(displayContent, info.AuthorityGroupRef);

            item.Attributes["title"] = info.Description;

            item.Selected = info.HasAccessToCurrentPartition;
            item.Enabled  = !info.CanAccessAllPartitions;

            return(item);
        }
        private static string GetRenderedHtml(DataAccessGroupInfo info)
        {
            StringBuilder html = new StringBuilder();

            html.Append(info.Name);

            if (info.CanAccessAllStudies)
            {
                html.AppendFormat("<span class='GlocalSeeNotesMarker'/> * </span>");
            }

            return(html.ToString());
        }