Click or drag to resize

VGHttpModuleLoadSecurity Method (HttpContext, WindowsIdentity)

Loads the permissions of the given WindowsIdentity.

Namespace:  Novalys.VisualGuard.Security.WebForm
Assembly:  Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 2018.1.720.18 (2018.1.0720.18)
Syntax
public VGAuthorizationState LoadSecurity(
	HttpContext context,
	WindowsIdentity identity
)

Parameters

context
Type: System.WebHttpContext
A valid HttpContext representing the context for which the security is loaded.
identity
Type: System.Security.PrincipalWindowsIdentity
A WindowsIdentity object for which you want to load permissions.

Return Value

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

the repository does not support Visual Guard authentication mode.

ArgumentNullException

name or context is null.

ArgumentException

The name is longer than 64 characters

The name is empty.

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