Visual Guard Class Library Documentation

VGSecurityManager.VGSecurityInitializedEventHandler Event

Occurs when the VGSecurityRuntime object assigned by default to the security manager is initialized.

public static event VGSecurityInitializedEventHandler DefaultRuntimeInitialized;

Event Data

The event handler receives an argument of type VGSecurityInitializedEventArgs containing data related to this event. The following VGSecurityInitializedEventArgs property provides information specific to this event.

Property Description
Runtime Gets or sets the VGSecurityRuntime object used to load and set the security of the application.

Remarks

The event handler receives an argument of type VGSecurityInitializedEventArgs containing data related to this event. The DefaultRuntimeInitialized event allows to change the default security settings used by Visual Guard to load the security from the repository and set the security on the objects of the application.

For ASP.Net application using the VGHttpModule module to manage the security, the VGSecurityRuntime object defined in this event is not used. You should use the VGHttpModule.Initialized event if you want to change the default security settings.

See Also

VGSecurityManager Class | Novalys.VisualGuard.Security Namespace