include_once( 'kernel/classes/ezrole.php' ); $role = eZRole::fetch( $roleID ); $role->assignToUser( $objectID, $limitIdent, $limitValue ); eZRole::expireCache(); include_once( 'kernel/classes/ezcontentcachemanager.php' ); eZContentCacheManager::clearAllContentCache(); include_once( 'kernel/classes/datatypes/ezuser/ezuser.php' ); eZUser::cleanupCache();
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 6.0.2stable
Hosted by USA eZ Publish Community Partner : Brookins Consulting