Click or drag to resize

VGIPrincipalHasPermission Method (Guid, Boolean)

Checks whether the specified permission is granted to the principal.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
bool HasPermission(
	Guid id,
	bool includeVGPermissions
)

Parameters

id
Type: SystemGuid
The Visual Guard unique identifier of the permission
includeVGPermissions
Type: SystemBoolean
If you include a VGPermissions

Return Value

Type: Boolean
true if the principal has the permission, false otherwise
See Also