Thursday, July 14, 2011

Remove or Hide the Login as a User Different Options SharePoint

This article is useful for removing Log on as a user other than the top navigation.
Follow these steps to remove "login as another user"

Step 1 : Add Content Editor Web part

Step 2 : Copy below code

Step 3 : Save web part or web page.

Step 4 : Done.


Step 1: Alternate solutions are copy welcome.ascx control and move to Create Custom Control folder and move that welcome.ascx control.

Step 2: Remove Sign in as different user menu item.

Step 3: Change Master Page through Share Point Designer

<%@ Register TagPrefix="wssuc" Tagname="Welcome" src="_controltemplates/Welcome.ascx" %>
And change to your Custom Welcome User control
<%@ Register TagPrefix="wssuc" Tagname="Welcome" src="_controltemplates/CustomUserControl /Welcome.ascx" %>

Step 4: Save master page.


No comments:

Post a Comment