示例#1
0
        private String renderUser(UserProfileManager profileManager, SPUser user, String involvedOrVisiting)
        {
            string html = "<span class=\"wbf-view-involved-user\">\n";

            html += user.WBxToHTML(profileManager);

            if (!String.IsNullOrEmpty(involvedOrVisiting) && currentUserCanRemoveIndividuals)
            {
                html += " <a href=\"javascript: removeIndividual('" + involvedOrVisiting + "','" + user.LoginName.Replace("\\", "\\\\") + "');\">(remove individual)</a>";
            }

            html += "</span>\n";

            return(html);
        }