Determines whether the current principal belongs to the role with the specified id.
Namespace:
Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
C# |
---|
bool IsInRole( Guid roleId ) |
Visual Basic (Declaration) |
---|
Function IsInRole ( _ roleId As Guid _ ) As Boolean |
Parameters
- roleId
- Type: System..::.Guid
The Guid identifying the role for which to check membership.