Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to define user type

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to show the different screens depend on the user type.If a user is normal one screens.if a user is admin one screen.How to get different screens depend on the user types?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1 Define what user types are
2 Associate users with types
3 Get the current user
4 Lookup current user's type
5 Show the correct screen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic