ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 300,337 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,666 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)

pedram

24 May, 2009 - 04:15 AM
Post #1

New D.I.C Head
*

Joined: 24 May, 2009
Posts: 1

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

User is offlineProfile CardPM
+Quote Post


newProgram

RE: Login Control By OleDB (Access)

24 May, 2009 - 06:17 PM
Post #2

D.I.C Head
**

Joined: 28 Oct, 2008
Posts: 152



Thanked: 4 times
My Contributions
QUOTE(pedram @ 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

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.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 05:10PM

Live ASP.NET Help!

Be Social

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

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month