Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
public static void LoadAnomymousSecurity()
|Visual Basic (Declaration)|
Public Shared Sub LoadAnomymousSecurity
To define an anonymous role, you must be connected to the repository with the Visual Guard console and modify the property Anonymous Role of your application.
After modifying this property, you have to regenerate the Visual Guard configuration file of your application or edit it to modify the option anonymousSessionSupported.
|Novalys.VisualGuard.Security..::.VGAnonymousSessionNotAllowedException||The application does not allowed anonymous session or the role granted to the anonymous session is not valid.|
|Novalys.VisualGuard.Security..::.VGConfigurationException||The configuration file is not valid
orA problem occurs during the connection to the repository.
orThe version of the repository or the version of the permissions is not supported by the application.