modUser.loadAttributes
Last updated Apr 7th, 2019 | Page history | Improve this page | Report an issue
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);