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: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGAuthorizationState LoadSecurity(
	string name
)
Visual Basic
Public Function LoadSecurity ( 
	name As String
) As VGAuthorizationState

Parameters

name
Type: System..::..String
the name of the user.

Return Value

Type: VGAuthorizationState
A VGAuthorizationState representing the state of the authorization

Exceptions

ExceptionCondition
System..::..NotSupportedException

the repository does not support Visual Guard authentication mode.

Novalys.VisualGuard.Security..::..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