Determines whether the current principal belongs to the specified role.
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( string role ) |
Visual Basic (Declaration) |
---|
Function IsInRole ( _ role As String _ ) As Boolean |
Parameters
- role
- Type: System..::.String
The name of the role for which to check membership.