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

My sharepoint site doesn't show the logout button. I guess i need to provide link to the signout.aspx page on the master page. If I am using v4.master, then where do i provide link to signout.aspx in the master page

share|improve this question

In the v4.master page this is added to the master via the user control:

<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">

Which renders like:

wssuc Welcome control

The "Sign Out" button itself is defined in the .ascx as:

<SharePoint:MenuItemTemplate runat="server" id="ID_Logout"

So you can add the standard Welcome control, add this link to the standard Site Actions drop down with the snippet directly above, or create a custom Welcome.ascx.

Hope this helps.

share|improve this answer
thanks for the answer. I have one question on the welcome.ascx user control. Where on the .ascx are we providing link to signout.aspx page ? – me24hour Feb 5 '13 at 19:59
If you find the file in the CONTROLTEMPLATES folder under TEMPLATES in the hive you can open it and find the SharePoint:MenuItemTemplate above. If you want to implement a custom menu item, see… which is the same process. – RJ Cuthbertson Feb 6 '13 at 15:55

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.