471,336 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

How to get NT User Account, IP and Domain using VB.NET

Hi

How to get NT User Account, IP and Domain using VB.NET.

Thanks,
Mustaq
Jul 22 '05 #1
1 3430
Environment.UserDomainName - Currently logged on user's domain
Environment.UserName - Currently logged on user name
System.Net.Dns.GetHostByName(System.Net.Dns.GetHos tName()).AddressList - IP
address list of the local machine

Hope this helps?

"Mustaq" <Mu****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Hi

How to get NT User Account, IP and Domain using VB.NET.

Thanks,
Mustaq
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Wayne Gibson | last post: by
10 posts views Thread by Jeff Williams | last post: by
2 posts views Thread by Fox1977 | last post: by
1 post views Thread by =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post: by
4 posts views Thread by =?Utf-8?B?QXZhRGV2?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.