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 October 4th, 2005, 08:29 AM
Registered User
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you get a users Network login ID

In vb6 I used the advapi32.dll. However I am almost certain that there is some functionality that is built into vb.net to get this info.


 
Old October 4th, 2005, 01:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

See if this helps:

http://p2p.wrox.com/topic.asp?TOPIC_ID=30150
 
Old November 28th, 2005, 04:13 AM
Authorized User
 
Join Date: Dec 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eelisMX
Default

System.Security.Principal.WindowsIdentity.GetCurre nt.Name
also returns a 'Domain\UserName' string where you can easily parse the UserName login ID.





Similar Threads
Thread Thread Starter Forum Replies Last Post
users login problem luisman_luisman BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 8 November 12th, 2009 03:48 PM
VB Redirection of users after login scostae BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 April 2nd, 2008 12:13 PM
Login to local network using compact framework NetDevel18102 C# 0 November 3rd, 2006 09:46 AM
Sometimes Users lost the login Maxxim BOOK: ASP.NET Website Programming Problem-Design-Solution 2 September 20th, 2006 02:32 PM
A Best Way To Record Track Of Users Login yoord BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 3rd, 2004 08:39 PM





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