SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a custom solution, based on an Enterprise Wiki template, that has a requirement for a degree of anonymity - basically, hide the actual username of all contributors from other site contributors and viewers.

My first thought is to allow each user to change their display name in their profile - however, that will affect the entire web app and I only want this change to occur on the site collection and subsites hosting this solution. For reasons "above my paygrade" this solution cannot be hosted on a dedicated web app, although if I find out this is otherwise impossible it could happen.

My second thought is that I will have to edit various files to remove references to usernames, but I'm not sure how much effort that will involve. (I did open "EnterpriseWiki.aspx" - a master page - and I see the following directive: <%$Resources:wss,wikidiff_lastmodifiedby%>, I imagine I should start there.)

share|improve this question

You could probably hide them with jQuery. If you look at the DOM, all user names as links include "_layouts/userdisp.aspx?ID=" in the href declaration. Something like:


s4-die is a built in SharePoint CSS class that is simply declared as display: none !important;

Then you just have to figure out how to hide the "Modified by:" text. Hope this helps as a start.

share|improve this answer

Your best shot is to write an unvisible web part hosted on the home page of your site collection and that will access the User Information List to anonymize the user's Full Name property. This will effectively hide the user's name wherever it appears in that specific site collection.

Hope this helps,


share|improve this answer
How would a web part on the home page change anything on any other page? – Chloraphil Nov 20 '12 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.