Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.
When isAuthenticated is equal to false, name is ignored.
If you want to check a permission, you have to use the full name of the permission. When the permission is stored in the root permission folder, the full name of the permission is equal to the permission name. When the permission is stored in a sub permission folder, the full name is equal to "\<sub folder name>\<\...\permission name name>".
For example the full name of the "Disallow to administrate customers" permission stored in the "Customers" folder is equal to "\Customers\Disallow to administrate customers"
.VGPrincipalPermission Class | Novalys.VisualGuard.Security Namespace | VGPrincipalPermission Constructor Overload List