Determining machine workgroup or domain

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Determining machine workgroup or domain

    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 Guest

  2. Similar Questions and Discussions

    1. Transition from workgroup to domain
      Thanks for the reply, Doug. We will uplink the router to the network switch and let the router manage NAT and DHCP. My understanding of managed...
    2. How to permit Domain User in AD domain install software on his/her machine?
      Hello, I have AD domain and 100 users, 15 of them are developers. Developers need full control over their machines. They need to install...
    3. Connecting a Domain PC to a Workgroup
      Any suggestions on any way to connect a W2kPro laptop that is part of a business domain (not a workgroup) to a home network using ICS on a XP Home...
    4. Cannot see Workgroup from One machine
      does the laptop setup for domain or workgroup? if it is the same workgroup, why do you need to change it? can you pin the computer name? if yes,...
    5. workgroup or domain
      why do you have to choose to be in a workgroup or domain? Why cant you be in both? In win98 you choose to log onto a certain domain and you put...
  3. #2

    Default Re: Determining machine workgroup or domain

    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" <walt@giftmarket.org> wrote in message
    news:03ca01c39fed$7ca8f920$a101280a@phx.gbl...
    > 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 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139