users permissions?

  • Thread starter Thread starter Paulo
  • Start date Start date
P

Paulo

Hi, can you help on a best logic to do a users permissions? Each module on
menu must have a number?

example: 1 - Customers
2 - Employers
3 - Reports
etc

so example in table database the login user paul will have the numbers
associated with him... what do you think about it ?

Thanks a lot!
 
Hi, Paulo

Check the Membership and Roles classes. They provide the basis for
every possible context of application user environment.

And you can specify with the MultiView (if I recall correctly) a
different view for each role.

Or if it's only a few items you can also use User.InRole("ROLE_NAME")
that you need to specify by some sort of coding.

Regards,

Paulo Santos
http://pjondevelopment.50webs.com
 
Back
Top