Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi Level User Login

Status
Not open for further replies.
Aug 22, 2011
13
US
Hi,

I have a project with Access frontend and SQL as the database.

I need to create a login screen with 4 level of users (admin, creator, contributor, and visitor).

I have not done this before....and of course each level can do different manipulation with different forms. Can someone please help or give me some example.

I have created my Login table with ID, Username, Password and checkboxes for (Admin, Creator, Contributor, Visitor). Is this the right approach?

 
I don't know about "right", but it seems a viable approach. I hate checkboxes so I would just use a numeric 1 or 0 but logically its obviously the same thing.

Don't know if this is a Web application hit in a browser or just what.

Assuming a Web page, user logs in, you verify username and password to authenticate, grab user permissions. Probably stuff the info into some sort of session variables and then use condiotional logic to display what should be shown and not show what shouldn't be shown.

If it is a standalone Access database application thing, I know less about those but would assume there is some way to display different screens based on different permission levels.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top