Condividi tramite


AuthenticationButton Class

Implements the authentication button control in Microsoft SharePoint Foundation.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebPartPages.AuthenticationButton

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class AuthenticationButton _
    Inherits Control _
    Implements INamingContainer, IDesignTimeHtmlProvider
'Usage
Dim instance As AuthenticationButton
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class AuthenticationButton : Control, 
    INamingContainer, IDesignTimeHtmlProvider

Remarks

This control allows you to use the authentication link on your custom Web Part Page if you choose not to use the built-in title bar (an instance of the TitleBarWebPart class).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AuthenticationButton Members

Microsoft.SharePoint.WebPartPages Namespace