Re: determine domain controller name

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Shiva (shiva_sm_at_online.excite.com)
Date: 07/16/04


Date: Fri, 16 Jul 2004 21:09:02 +0530

Hi,

Will Environment.UserDomainName / Environment.UserName be of any use?

"Nick" <Nick@discussions.microsoft.com> wrote in message
news:128430E5-97E8-4AC1-B5D8-912672595A91@microsoft.com...
Hi,

I would like to know how to determine whether a user is part of a domain in
the network, or just part of a workgroup.

Thanks!