hasRole

fun Member.hasRole(role: RoleBehavior): Boolean

Check if the user has the given Role.

Return

true if the user has the given role, false otherwise

Parameters

role

Role to check for