0

We currently have the work email displaying on the MySites page - is there a way to hide this for a group of people?

We have a group of doctors who do not want their email shared.

3 Answers 3

1

If your site has jQuery a simple solution without changing your setup would be:

$('div#ProfileViewer_ValueEmail').remove();

You can add this to person.aspx on page load.

0

I have not customized a MySite page so this is just a shot in the dark, but why not add another property to the UserProfile called something like "HideEmailAddress" and set it to True for your group of doctors. You could then modify the XSL on the mysite page to not display the email address if this property is true.

0

This is better... SharePoint 2010:

First we want to go into Central Administration –> Application Management –> Manage Service Applications –> Select your User Profile Service Application and then click manage in the ribbon. Under People select manage user properties. Then scroll down and find the Status Message property, pull the drop down and select edit. In the edit property screen this is where we will change the settings to not show or allow editing as seen in the screenshot below.

The setting you are looking for is.

Show in the profile properties section of the user's profile page

UPDATE:

This article has screen shots explaining how to do the above but in SharePoint 2013: http://www.sharepoint2013.me/Blog/Post/224/SharePoint-2013-user-profiles-%E2%80%93-Add-custom-properties

4
  • 3
    Deleting the email property would have dramatic consequences for the farm, not the least of which would be the loss of all email-based functionality like alerts and many workflow steps.
    – Dave Wise
    Commented Sep 27, 2013 at 15:23
  • Wouldn't following this step only remove the Email from the User Profile? I always had thought that when SP sends out notification emails the email address comes from the AD Commented Sep 27, 2013 at 15:35
  • SharePoint syncs the email from AD into the user profile in a batch operation that usually runs nightly. SharePoint actions/emails only use the information in the user profile.
    – Dave Wise
    Commented Sep 27, 2013 at 15:40
  • Yes, the AD sync, the User Profile Service, but the email for notifications comes from the User Information List not the MySites. Commented Sep 27, 2013 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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