Gets the specified VGIPermission object.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
VGIPermission GetPermission(
	Guid id
)
Visual Basic (Declaration)
Function GetPermission ( _
	id As Guid _
) As VGIPermission

Parameters

id
Type: System..::.Guid
The Visual Guard unique identifier of the permission

Return Value

The 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.

See Also