Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2004, 02:16 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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

Reply With Quote
  #2 (permalink)  
Old December 31st, 2004, 01:44 PM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
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.
Reply With Quote
  #3 (permalink)  
Old December 31st, 2004, 01:51 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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.


Reply With Quote
  #4 (permalink)  
Old December 31st, 2004, 02:14 PM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
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.
Reply With Quote
  #5 (permalink)  
Old December 31st, 2004, 04:37 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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

Reply With Quote
  #6 (permalink)  
Old December 31st, 2004, 04:40 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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

Reply With Quote
  #7 (permalink)  
Old January 1st, 2005, 11:33 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
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.
Reply With Quote
  #8 (permalink)  
Old January 5th, 2005, 01:20 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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

Reply With Quote
  #9 (permalink)  
Old January 5th, 2005, 03:29 PM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
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.
Reply With Quote
  #10 (permalink)  
Old January 5th, 2005, 03:45 PM
Registered User
 
Join Date: Mar 2004
Location: Phoenix, AZ, .
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


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:10 PM.


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