VGRolesInstanceIsUserInRole Method (Guid)
|
Gets a value indicating whether the currently logged-on user is in the specified role.
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public bool IsUserInRole(
Guid roleId
)
Public Function IsUserInRole (
roleId As Guid
) As Boolean
Parameters
- roleId
- Type: SystemGuid
The repository id of the role to search in.
Return Value
Type:
Booleantrue if the currently logged-on user is in the specified role; otherwise, false.
Exceptions See Also