Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
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
 
Old December 29th, 2004, 02:16 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default 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

 
Old December 31st, 2004, 01:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

What technology do you want to use? LDAP?


Hal Levy
I am here to help you, not do it for you.
 
Old December 31st, 2004, 01:51 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default

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.


 
Old December 31st, 2004, 02:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
 
Old December 31st, 2004, 04:37 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default

Yup...that's what I'm looking for. Thanx for the link. Do you have anything more indepth than that??

Thanx
David

 
Old December 31st, 2004, 04:40 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default

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

 
Old January 1st, 2005, 11:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
 
Old January 5th, 2005, 01:20 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default

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

 
Old January 5th, 2005, 03:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
 
Old January 5th, 2005, 03:45 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dasschmidthaus
Default

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







Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM
login failed for user nt authority\anonymous login rj1406 Classic ASP Databases 1 October 24th, 2004 09:15 AM
I can verify user name and password hdoldur Classic ASP Databases 2 April 3rd, 2004 07:51 PM
Login user & restrict access lucian Dreamweaver (all versions) 5 September 7th, 2003 12:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.