Click or drag to resize

VGSecurityRuntimeLoadSecurity Method (String, VGAuthenticationMode)

Loads the permissions of a user identified by the user name by using the specified authentication mode.

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,
	VGAuthenticationMode mode
)

Parameters

name
Type: SystemString
the name of the user.
mode
Type: Novalys.VisualGuard.SecurityVGAuthenticationMode
the authentication mode used to authentiticate the user.

Return Value

Type: VGAuthorizationState
A VGAuthorizationState representing the state of the authorization
Exceptions
ExceptionCondition
NotSupportedException

the repository does not support specified authentication mode.

VGConfigurationExceptionThe 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