modUser.loadAttributes
modUser::loadAttributes
Loads the principal attributes that define a modUser security profile.
Syntax
void loadAttributes ( $target, [ $context = ''], [ $reload = false])
Example
Load attributes for the 'sports' context and the modResource target.
$user->loadAttributes('modResource','sports',true);