Partager via


AuthenticationButton Class

Implements the authentication button control in Microsoft Windows SharePoint Services.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class AuthenticationButton _
    Inherits Control _
    Implements INamingContainer, IDesignTimeHtmlProvider

Dim instance As AuthenticationButton
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
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