hasRoles

fun Member.hasRoles(vararg roles: RoleBehavior): Boolean
fun Member.hasRoles(roles: Collection<RoleBehavior>): Boolean

Check if the user has all of the given roles.

Return

true if the user has all of the given roles, false otherwise.

Parameters

roles

Roles to check for.