Determining machine workgroup or domain

Discussion in 'ASP .Net Security' started by Walter Zydhek, Oct 31, 2003.

  1. 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?

    -Walter Zydhek
     
    Walter Zydhek, Oct 31, 2003
    #1
    1. Advertising

  2. Walter Zydhek

    Teemu Keiski Guest

    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

    "Walter Zydhek" <> wrote in message
    news:03ca01c39fed$7ca8f920$...
    > 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?
    >
    > -Walter Zydhek
     
    Teemu Keiski, Nov 3, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Infant Newbie
    Replies:
    2
    Views:
    3,301
    Infant Newbie
    Nov 12, 2003
  2. =?Utf-8?B?Uk9TMzg=?=

    Workgroup Information File Error

    =?Utf-8?B?Uk9TMzg=?=, Aug 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,157
    Mary Chipman
    Aug 20, 2004
  3. ruca

    Authentication with WorkGroup

    ruca, Feb 21, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    377
    Chaves
    Mar 6, 2007
  4. Robert E. Flaherty

    Single Sign On Within a Workgroup

    Robert E. Flaherty, Apr 5, 2006, in forum: ASP .Net Security
    Replies:
    0
    Views:
    186
    Robert E. Flaherty
    Apr 5, 2006
  5. Dominick Baier [DevelopMentor]

    Impersonate via a remote workgroup

    Dominick Baier [DevelopMentor], Jul 5, 2006, in forum: ASP .Net Security
    Replies:
    5
    Views:
    456
    Dominick Baier
    Aug 4, 2006
Loading...

Share This Page