1

I have a Sharepoint web page that users are required to sign in to use additional features. Different features require different sign ins, so I have a link to a page listing the various sign ins and their descriptions. Because of this link, I wish to hide the "Sign In" provided by wssuc:Welcome; however, I still wish to display the "Welcome" provided by wssuc:Welcome after the user has signed in.

I've researched this and arrived at 2 possible solutions:

  1. Hide the "Sign In" using CSS in my code similar to this:

[CSS code added to master page]

   .myWelcomeMenu {
        display:none;
     }

[modified code in master]

<div class=”myWelcomeMenu”&gt;
    <wssuc:Welcome id=”IdWelcome” runat=”server” EnableViewState=”false”&gt;
    </wssuc:Welcome>
</div>

The problem with this is it will also hide the "Welcome" message.

  1. Modify welcome.ascx, but this affects other sites on the server.

Any suggestions?

Thanks, George

4

1 回答 1

0

我在这里找到了解决问题的方法:

为匿名用户隐藏客户端 Web 浏览器中的“登录”链接

http://mosshowto.blogspot.com/2008/10/hide-sign-in-link-anonymous-users.html

于 2014-01-28T18:12:37.707 回答