Export (0) Print
Expand All

ScriptManagerProxy.RoleService Property

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

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public RoleServiceManager RoleService { get; }

Property Value

Type: System.Web.UI.RoleServiceManager
The RoleServiceManager object for the current ScriptManagerProxy instance.

The RoleServiceManager object that is returned by this property represents the role service that is registered with the page.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
© 2015 Microsoft