How to get additional data during database hooks

I have a custom table user_roles (user_id, role text) where role might vendor | customer
I want to populate this, during database after user create hook. How would I know which user role is signing up? Do I pass a custom header or is there a more clean way?
Was this page helpful?