April 27, 2016 at 5:28 pm
#29751
Syam Mohan
Keymaster
Hi Guy,
Use the following actions to capture the assignment information.
set_user_role – For primary role.
add_user_role – For secondary roles.
Take a look into the WordPress documentation to know the parameters and how to use them.
Let me know if you have any questions.
Thanks
Syam