Adds the specified role to all accounts of the given user and potentially carries out further actions which are needed to
properly reflect these changes.
public addRoleToUser ( |
||
$user | The user to add roles to | |
$roleIdentifier | string | A fully qualified role identifier, or a role identifier relative to the Neos.Neos namespace |
return | integer | How often this role has been added to accounts owned by the user |