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
Login control by OleDB (Access)
Page 1 of 1
Login control by OleDB (Access) Login control by OleDB (Access)
#2
Posted 24 May 2009 - 06:17 PM
pedram, 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
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.
Page 1 of 1

Start a new topic
Add Reply




MultiQuote
| 


