 |
| Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

December 29th, 2004, 02:16 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Using Windows Login to Verify User Access
I'm looking for ways to have my users login to my program using their windows login and then verifying their users rights via the groups they are members of. I've been searching the net for help on this and haven't been very successful. Does anyone have any good examples for doing this??
TIA
David
|
|

December 31st, 2004, 01:44 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
What technology do you want to use? LDAP?
Hal Levy
I am here to help you, not do it for you.
|
|

December 31st, 2004, 01:51 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am making a VB.Net front end to a SQL Database. I want to implement various levels of access to the program through the users windows active directory account groups. I need to know now to give the user a means to logging, verify their account on the server and then lookup there security groups.
|
|

December 31st, 2004, 02:14 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Ok- and again I ask, do you want to use LDAP to talk to active directory?
Here's a primer
http://www.codeproject.com/aspnet/ac...rectoryuse.asp
Hal Levy
I am here to help you, not do it for you.
|
|

December 31st, 2004, 04:37 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yup...that's what I'm looking for. Thanx for the link. Do you have anything more indepth than that??
Thanx
David
|
|

December 31st, 2004, 04:40 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I also see that all the examples are in C#. You have anything in Vb.Net?? That has been my dilemma. I haven't been able to find VB.Net examples on doing this.
Thanx again.
David
|
|

January 1st, 2005, 11:33 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
The basic idea should be easily convertable- the objects are the same.. just change the syntax around.
In terms of more in depth- that's really all there is to it...
Hal Levy
I am here to help you, not do it for you.
|
|

January 5th, 2005, 01:20 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hal,
I'm having trouble using the LDAP syntax. I've never used it before. Can you help me out here?? I guess me overall problem is that I do not know C# at all and I'm having issues doing the conversion.
Thanx
David
|
|

January 5th, 2005, 03:29 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
We do it in C# here.. what syntax are you having trouble converting? Perhaps I can give you the conversion.
Hal Levy
I am here to help you, not do it for you.
|
|

January 5th, 2005, 03:45 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
VB.Net. I had assumed that since this is a VB.NET forum that the examples posted would be in VB.Net format.
Thanx
David
|
|
 |