IsInRole determines whether the user is in the role passed

Namespace: DotNetNuke.Entities.Users
Assembly: 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

Return Value

A Boolean indicating success or failure.

See Also