Gets the specified VGIPermission object.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
VGIPermission GetPermission( Guid id ) |
Visual Basic |
---|
Function GetPermission ( id As Guid ) As VGIPermission |
Parameters
- id
- Type: System..::..Guid
The Visual Guard unique identifier of the permission
Return Value
Type: VGIPermissionThe specified VGIPermission object if the permission is granted to the principal. Returns null (Nothing in VB) if the permission is not granted or it does not exist.