Initializes a new instance of the VGRoleProvider class.

Namespace:  Novalys.VisualGuard.Security.WebForm
Assembly:  Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public VGRoleProvider()
Visual Basic (Declaration)
Public Sub New

Remarks

This class is used by the Roles and RolePrincipal classes to provide role-management services for an ASP.NET application using a Visual Guard repository. You can use role management to specify different levels of authorization for your application.


To use the VGRoleProvider, you must configure your web.config file. You must add this provider in the providers list of the roleManager section and defines this provider as the DefaultProvider.

We strongly recommend to read the "How to integrate Visual Guard in n ASP.Net 2.0 application" document.

This provider does not support the modification of ApplicationName. This provider support only to access to the application defines in the Visual Guard configuration files.

See Also