VGSecurityRuntimeLoadSecurity Method (String, VGAuthenticationMode, Boolean) |
Namespace: Novalys.VisualGuard.Security
public VGAuthorizationState LoadSecurity( string name, VGAuthenticationMode mode, bool isAuthenticated )
Exception | Condition |
---|---|
NotSupportedException | the repository does not support the specified Visual Guard authentication mode. |
ArgumentNullException | name is null. |
ArgumentException | The name is longer than 64 characters - or -The name is empty. - or -The mode is equal to Windows. If you want to load the security for a Windows account, you have to call LoadSecurity(IIdentity) |
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. |