VGSecurityRuntimeLoadSecurity Method (String)
|
Loads the permission of the user identified by the user name.
Namespace:
Novalys.VisualGuard.Security
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public VGAuthorizationState LoadSecurity(
string name
)
Public Function LoadSecurity (
name As String
) As VGAuthorizationState
Parameters
- name
- Type: SystemString
the name of the user.
Return Value
Type:
VGAuthorizationStateA
VGAuthorizationState representing the state of the authorization
Exceptions Exception | Condition |
---|
NotSupportedException | the repository does not support Visual Guard authentication mode. |
VGConfigurationException | The configuration file is not valid
or
A problem occurs during the connection to the repository.
or
The version of the repository or the version of the permissions is not supported by the application.
|
See Also