$user


User Methods

$user->hasRole($role)

Introduced in Version 2.0

Description

Does the user have the given role? Returns true or false.

Post Comment