Editar

Compartilhar via


ScriptManagerProxy.AuthenticationService Property

Definition

Gets the AuthenticationServiceManager object that is associated with the current ScriptManagerProxy instance.

public:
 property System::Web::UI::AuthenticationServiceManager ^ AuthenticationService { System::Web::UI::AuthenticationServiceManager ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.AuthenticationServiceManager AuthenticationService { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.AuthenticationService : System.Web.UI.AuthenticationServiceManager
Public ReadOnly Property AuthenticationService As AuthenticationServiceManager

Property Value

The AuthenticationServiceManager object for the current ScriptManagerProxy instance.

Attributes

Remarks

The AuthenticationServiceManager object that is returned by this property represents the authentication service that is registered with the page.

You can use the ASP.NET authentication service or use a custom authentication service. To use a custom service, you can register it by including a AuthenticationService element inside the ScriptManagerProxy element on the page. You can also programmatically configure the AuthenticationServiceManager object.

Applies to