API docs     >     Users and Permissions     >     User

User->hasUsergroup

Description

hasUsergroup ( $usergroupId )
Checks if this User is part of a specific Usergroup

Parameters

$usergroupId
int

Returns

bool
TRUE if this User is part of the Usergroup FALSE if not