users permissions?

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!
 
P

PJ on Development

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,099
Members
48,773
Latest member
Kaybee

Latest Threads

Top