Answered

Is it possible to track a user's role?

  • 28 June 2021
  • 1 reply
  • 46 views

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."

icon

Best answer by Roy 28 June 2021, 21:25

View original

1 reply

Userlevel 1
Badge

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