VGSecurityRuntime Methods |
The VGSecurityRuntime type exposes the following members.
Name | Description | |
---|---|---|
Authenticate(String) | ||
Authenticate(VGAdfsServer) |
Authenticates a federated user
| |
Authenticate(VGICredential) |
Authenticate the user by the VGICredential
| |
Authenticate(String, SecureString) |
Authenticates a user by using Visual Guard or Database authentication mode.
| |
Authenticate(String, String) |
Authenticates a user by using Visual Guard or Database authentication mode.
| |
Authenticate(String, SecureString, VGAuthenticationMode) |
Authenticates a user by using the specified authentication mode.
| |
Authenticate(String, String, VGAuthenticationMode) |
Authenticates a user by using the specified authentication mode.
| |
Authenticate(VGAdfsServer, String, String) |
Authenticates a federated user
| |
ChangePassword(SecureString, SecureString, SecureString) |
Change the password of the current user, the runtime need to have a Principal.
The current user needs to support password system.
| |
ChangePassword(String, String, String) |
Change the password of the current user, the runtime need to have a Principal.
The current user needs to support password system.
| |
ChangePassword(String, String, String, String) |
Changes the password of the user.
| |
ChangePassword(VGICredential, String, String, String) |
Changes the password of the user.
| |
ChangePasswordQuestionAndAnswer(String, String, String) |
Changes the password question and answer of the user.
| |
ChangePasswordQuestionAndAnswer(VGMembershipUser, String, String) | ||
ChangePasswordQuestionAndAnswer(String, String, String, String) |
Changes the password question and answer of the user.
| |
ChangePasswordQuestionAndAnswer(VGMembershipUser, VGICredential, String, String) | ||
ChangePasswordQuestionAndAnswer(VGMembershipUser, String, String, String) | ||
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.
| |
CreateRuntimeForFile(String, VGAuthenticationMode, Boolean, Guid, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository based on files.
| |
CreateRuntimeForFile(String, VGAuthenticationMode, Boolean, Guid, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository based on files.
| |
CreateRuntimeForOracle(String, VGAuthenticationMode, Boolean, Guid, String, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using Oracle as the backing store.
| |
CreateRuntimeForOracle(String, VGAuthenticationMode, Boolean, Guid, String, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using Oracle as the backing store.
| |
CreateRuntimeForSQLServer(String, VGAuthenticationMode, Boolean, Guid, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using SQLServer as the backing store.
| |
CreateRuntimeForSQLServer(String, VGAuthenticationMode, Boolean, Guid, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using SQLServer as the backing store.
| |
CreateRuntimeForVGServer(String, String, Guid, Boolean, Int32) | ||
CreateRuntimeForVGServer(String, String, VGAuthenticationMode, Boolean, Guid, Int32) | ||
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 |
The destructor of the object.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (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.
| |
LoadAnomymousSecurity |
Loads the permissions for an anonymous session.
| |
LoadAnomymousSecurity(IIdentity) |
Loads the permission for an anonymous session associated to the specified windows identity
| |
LoadAnomymousSecurity(VGIIdentity) | ||
LoadSecurity |
Loads the permission of the GetCurrent identity.
| |
LoadSecurity(VGToken) |
Load a principal by VGToken
| |
LoadSecurity(IIdentity) |
Loads the permission of the given IIdentity object.
| |
LoadSecurity(String) |
Loads the permission of the user identified by the user name.
| |
LoadSecurity(String, VGAuthenticationMode) |
Loads the permissions of a user identified by the user name by using the specified authentication mode.
| |
LoadSecurity(String, VGAuthenticationMode, Boolean) |
Loads the permission of the given user name.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResetPassword(String) | Obsolete. Resets a user's password to a new, automatically generated password. | |
ResetPassword(String, Boolean) | Obsolete. Resets a user's password to a new, automatically generated password. | |
ResetPassword(String, String) | Obsolete. Resets a user's password to a new, automatically generated password. | |
SetSecurity(Object) |
Sets the security for the specified object.
| |
SetSecurity(Object, Type) |
Sets the security corresponding to the specified type for the specified object.
| |
SignOut |
Unloads the roles and permissions granted to the current user.
If you are in Web application use VGFormsAuthentication.SignOut() method
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateUser(VGAdfsServer) | ||
ValidateUser(VGICredential) | ||
ValidateUser(String, String) |
Verifies that the supplied user name and password are valid by using the authentication mode VisualGuard or Database mode.
| |
ValidateUser(String, String, VGAuthenticationMode) |
Verifies that the supplied user name and password are valid.
| |
ValidateUser(VGAdfsServer, String, String) | ||
WriteLog |
Writes a new log entry as defined in the specified VGLogEntry object in the repository represented by this runtime.
|
Name | Description | |
---|---|---|
CleanUpAuthorizationCache |
Cleanup Authorization cache depending on cache duration.
(Defined by VGRuntimeExtension.) | |
ClearAuthorizationCache |
Clear Authorization cache irrespective of the cache duration
(Defined by VGRuntimeExtension.) | |
LoadSecurityToken |
Load the security via VGToken
(Defined by VGRuntimeExtension.) | |
MergeSecurityApplication |
Merge the current principal with an other application
Before calling this method, you need to have one principal load in the current runtime
(Defined by VGRuntimeExtension.) |