Skip to main content

Our users have different roles with different companies; the user might be an admin, an employee or a service provider. Is there a way to keep track of users' roles on a company-by-company basis?

 

Right now our initial stab has the role updating on the user. This means when the user signs in with a company they are "admin," we updated the user profile to show they are admin. But when the user switches to another company where they're, say, an employee, then we lose the detail that they're an admin of one company, and now their profile says "employee."

Hello @kevin d14 👋,

 

You have a really good use case here ✨ Thanks for posting.

 

The best way here will be to create a new user attribute call Role and then send both roles separated by "," or ";".

Like, Role - Admin; Employee;

 

Then you can filter this during outbound messaging or even create segments.

 


Reply