Hi,
when connected to the network and using dns or enviorment i can find the
Host name or domainname...
but I would like to find all domains controls on a network and if possible
list the ones that have a active directory .. but then if the domain
controller can't be found.. get the local computer name. Kind of like the
windows log in screen it will list the local computer and any domain
controllers on the network.
I see there are bunch of samples for get domain.. but you need to know the
ip address and your also making the assumtion that your part of that
domain.. sometimes, I'll be runing my app from a workgroup pc on the net
work, but still want athenicate with the AD.. kind of like run as...
thanks
when connected to the network and using dns or enviorment i can find the
Host name or domainname...
but I would like to find all domains controls on a network and if possible
list the ones that have a active directory .. but then if the domain
controller can't be found.. get the local computer name. Kind of like the
windows log in screen it will list the local computer and any domain
controllers on the network.
I see there are bunch of samples for get domain.. but you need to know the
ip address and your also making the assumtion that your part of that
domain.. sometimes, I'll be runing my app from a workgroup pc on the net
work, but still want athenicate with the AD.. kind of like run as...
thanks