School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,138 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,870 people online right now. Registration is fast and FREE... Join Now!



Login control by OleDB (Access)

Login control by OleDB (Access) Login control by OleDB (Access) Rate Topic: -----

#1 pedram  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 24-May 09


Dream Kudos: 0

Post icon  Posted 24 May 2009 - 04:15 AM

Dear everybody,
I wanna write a new login control such as what is in Visual studio but with OleDB,
I wanna authenticate users with different roles and different permissions.
would you please give me some advice and samples !
Best Regards
Was This Post Helpful? 0
  • +
  • -


#2 newProgram  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 28-October 08


Dream Kudos: 0

Posted 24 May 2009 - 06:17 PM

View Postpedram, on 24 May, 2009 - 04:15 AM, said:

Dear everybody,
I wanna write a new login control such as what is in Visual studio but with OleDB,
I wanna authenticate users with different roles and different permissions.
would you please give me some advice and samples !
Best Regards

On your DB add a field that you will use to validate the permission per user. Its up to you what value it will have and what data type. For example, you add "permission" as a datafield a value range 1-3, data type is varchar. When the user login, your system will compare the value of "permission" on the DB.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month