Hiding people.aspx in Sharepoint

Great post on how to do this is here:

http://social.technet.microsoft.com/Forums/en-US/sharepointgenerallegacy/thread/2176841e-3484-41d0-85b9-b34697beb622

Except for the fact that it puts an emoticon in the tags. Here it is without those:

<asp:Content contentplaceholderid=”PlaceHolderMain” runat=”server”>

add this line

<Sharepoint:SPSecurityTrimmedControl runat=”server” PermissionsString=”ManagePermissions”>

then directly before that sections closing tag (it happens to be the last line in the file) which looks like this

</asp:Content>

add in the closing tag for the SPSecurityTrimmedControl i.e.

</Sharepoint:SPSecurityTrimmedControl>

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s