Gets or sets the id of the application managed by Visual Guard

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 Guid ApplicationId { get; set; }
Visual Basic
Public Property ApplicationId As Guid
	Get
	Set

Property Value

Type: Guid
The id of the application.

Remarks

This method reinitializes the current security context and will unload the security permissions granted to the current user. When the specified application id is equal to Empty, Visual Guard will use the id specified in the configuration file.

Exceptions

ExceptionCondition
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