Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在sharepoint teamsite InExpage上添加注册链接_C#_Sharepoint - Fatal编程技术网

C# 如何在sharepoint teamsite InExpage上添加注册链接

C# 如何在sharepoint teamsite InExpage上添加注册链接,c#,sharepoint,C#,Sharepoint,如何在sharepoint teamsite InExpage中添加注册链接,并使此链接仅在用户未连接时可见?我假设您正在使用FBA对用户进行身份验证。您可以使用ASP.NET登录控件来实现这一点 <asp:LoginView ID="LoginView1" runat="server"> <LoggedInTemplate> <asp:LoginName ID="LoginName1" runat="server" FormatString="Hello

如何在sharepoint teamsite InExpage中添加注册链接,并使此链接仅在用户未连接时可见?

我假设您正在使用FBA对用户进行身份验证。您可以使用ASP.NET登录控件来实现这一点

<asp:LoginView ID="LoginView1" runat="server">
<LoggedInTemplate>
    <asp:LoginName ID="LoginName1" runat="server" FormatString="Hello {0}" />
</LoggedInTemplate>
<AnonymousTemplate>
    <asp:Login ID="Login1" runat="server">
    </asp:Login>
</AnonymousTemplate>

希望有帮助

NLV