How to manage users ?

Estimated reading: 1 minute 380 views

To use the API of Visual-Guard, you need to meet certain prerequisites:

  1. The VGSecurityRuntime must be initialized.
  2. The user must be authenticated.
  3. The current user needs to have some administration rights.

The VGSecurityRuntime is based on VGSecurityRuntime.<Entity>, where <Entity> can be various components of the system such as Roles, Membership, Permissions, etc. These entities allow you to manage different aspects of the system:

  • VGSecurityRuntime.Roles is used to manage all roles.
  • VGSecurityRuntime.Membership is used to manage the users.
  • VGSecurityRuntime.Permissions is used to manage all permissions.