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:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property RoleServiceManager^ RoleService {
	RoleServiceManager^ 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
Available since 3.5
Return to top
Show: