Click or drag to resize

VGIPrincipalIsInRole Method (Guid)

Determines whether the current principal belongs to the role with the specified id.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
bool IsInRole(
	Guid roleId
)

Parameters

roleId
Type: SystemGuid
The Guid identifying the role for which to check membership.

Return Value

Type: Boolean
true if the current principal is a member of the specified role; otherwise, false.
See Also