$user


User Methods

$user->hasPermission($permission)

Introduced in Version 2.0

Description

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

Post Comment