Click or drag to resize

VGIPrincipalIsInRole Method (String)

Determines whether the current principal belongs to the specified role.

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(
	string role
)

Parameters

role
Type: SystemString
The name of 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.

Implements

IPrincipalIsInRole(String)
See Also