Skip to main content
Answered

Is it possible to track a user's role?

  • June 28, 2021
  • 1 reply
  • 63 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."

Best answer by Roy

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.

 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • June 28, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings