all groups > asp.net security > october 2003 >
You're in the

asp.net security

group:

Determining machine workgroup or domain


Determining machine workgroup or domain Walter Zydhek
10/31/2003 12:28:04 PM
asp.net security: Is there a way in asp.net/vb.net to determine whether a
machine is
configured as a member of a domain or whether it is
setup as part of a workgroup? And how can I determine the
name of that domain or workgroup?

Re: Determining machine workgroup or domain Teemu Keiski
11/3/2003 1:18:30 PM
Just a desperate shot (:-) ), but try checking Environment.UserDomainName
(Environment class is in System namespace)

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

[quoted text, click to view]

AddThis Social Bookmark Button