The VGSecurityRuntime type exposes the following members.

Constructors

  NameDescription
VGSecurityRuntimeOverloaded.

Methods

  NameDescription
AuthenticateOverloaded.
ChangePassword
Changes the password of the user.
ChangePasswordQuestionAndAnswerOverloaded.
CheckContext
Check if the context of Visual Guard is valid.
CheckCredential
Checks if credentials are valid but does not load security permissions or change current principal.
CreateRuntimeForFileOverloaded.
CreateRuntimeForOracleOverloaded.
CreateRuntimeForSQLServerOverloaded.
Dispose
Releases all resources used by the current instance
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetPasswordQuestion
Gets the password question of a specified user.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsAnonymousSessionSupported
Indicates whether an anonymous sessions are supported by the current application.
LoadAnomymousSecurityOverloaded.
LoadSecurityOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ResetPasswordOverloaded.
SetSecurityOverloaded.
SignOut
Unloads the roles and permissions granted to the current user.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
ValidateUserOverloaded.
WriteLog
Writes a new log entry as defined in the specified VGLogEntry object in the repository represented by this runtime.

Properties

  NameDescription
Administration
Gets a VGGroupsInstance object used to manage user membership in groups for the application managed by this runtime
Application
Gets a VGApplicationInstance object used to manage Application informations
ApplicationId
Gets or sets the id of the application managed by Visual Guard
ApplicationName
gets the name of the application managed by Visual Guard
ApplicationType
Indicates the type of application managed by Visual Guard
AuthenticationState
Gets a VGAuthenticationState object representing the last authentication state.
AuthorizationState
Gets a VGAuthorizationState object representing the last authorization state.
ConfigurationFile
Gets or sets the configuration file used to load information from the repository
ConsecutiveBadLoginsAllowed
Gets or sets the maximum number of consecutive invalid password.
Enabled
Gets or sets a value indicating if the Visual Guard security is enabled.
EnablePasswordReset
Gets a value indicating whether the current membership provider is configured to allow users to reset their passwords.
GraceLoginsAllowed
Gets a value indicating if theire is Consecutive Bad Logins Allowed.
Groups
Gets a VGGroupsInstance object used to manage user membership in groups for the application managed by this runtime
HistoryLength
Gets a value indicating the History Length of the password.
IncludeWindowsGroups
Gets or sets a Boolean value that indicates whether role granted to Windows Groups are included to the list of role of a user.
LogEnabled
Gets a value indicating whether the log is enabled for the repository.
MaxInvalidPasswordAttempts
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
Membership
Gets a VGMembershipInstance object used to manage membership information for the application managed by this runtime
MinRequiredNonAlphanumericCharacters
Gets the minimum number of special characters that must be present in a valid password.
MinRequiredPasswordLength
Gets the minimum length required for a password.
PasswordAttemptWindow
Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
PasswordPolicyMessage
Gets the message displayed to the user if the password does not match the validation rules.
PasswordStrengthRegularExpression
Gets the regular expression used to evaluate if the password.
PasswordValidation
Gets or sets the configured regular expression used for validating the password format.
PermissionSets
Gets a VGRolesInstance object used to manage user membership in roles for the application managed by this runtime
Principal
Gets the VGIPrincipal representing the security context of current user on whose behalf the application is running. this property is null (Nothing) before calling the or methods or is the authorization process has failed.
ReplaceCurrentPrincipal
Gets or sets a value indicating if the principal of the current thread ().
Repository
Gets a VGRepositoryInstance object used to manage repository informations
RepositoryDescription
Get the description of the repository used by the runtime.
RepositoryName
Specifies the name of the repository used by the runtime.
RequiresQuestionAndAnswer
Gets a value indicating whether the default membership provider requires the user to answer a password question for password reset and retrieval.
RequiresUniqueEmail
Gets a value indicating whether the repository is configured to require a unique e-mail address for each user name.
Roles
Gets a VGRolesInstance object used to manage user membership in roles for the application managed by this runtime
SupportedAuthenticationModes
Gets the authentication modes supported by the repository.
SyncRoot
Gets an object that can be used to synchronize access to the VGSecurityRuntime.
UseAutomaticInterception
Gets or sets a boolean value indicating whether Visual Guard can use its automatic interception mechanism to intercept the instantication of Forms and automatically set the security to this instance.

Events

  NameDescription
AcceptOfflineMode
Occurs after VGRepository is created.
CheckForOnlineStatus
Occurs after VGRepository is created.
CheckVersion
Allows to check if the version of the repository permissions is compatible with the version of the application.
PermissionsLoading
Occurs before the permissions are loaded and allows filtering the list of user's roles.
SecurityError
Occurs when Visual Guard loads security actions and a type are unknown or when Visual Guard sets the security of an object and an exception occurs.
SecurityLoaded
Occurs after the security permissions are loaded.
SignedOut
Occurs when the current user is signed out.
UnableToSaveOffline
Occurs when you have a error during save offlinemode conposant.
ValidatingPassword
Occurs when a password is changed or is reset.

See Also