The context to assign the user role in
The context level to assign the user role in (block, course, coursecat, system, user, module)
The Instance id of item where the role needs to be assigned
Role to assign to the user
The user that is going to be assigned
Generated using TypeDoc
The context to assign the user role in