Get current roles of user and assign user to role

Re: Get current roles of user and assign user to role

by Alexander Adadurov -
Number of replies: 0

The function

user_has_role_assignment
does not work in my code, do I need to include something that contains it?