Assigning multiple roles to a single user

As a variant to a recent post I did, here's another method to assign roles to a user, different is that this method will allow you to assign multiple number of roles in a single transaction.  


Assign role to User

Sometimes we need to manage roles programmatically with plugins to fulfill our customer requirements. This is great to allow Users to see data and append privileges. Find below a method that will assign a role to a user(Both sent as parameters).