IsInRole determines whether the user is in the role passed
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool IsInRole( string role ) |
Visual Basic |
---|
Public Function IsInRole ( role As String ) As Boolean |
Parameters
- role
- Type: System..::..String
The role to check