Re: Getting the domain name of the current server
From: Ron L (ronl_at_bogus.Address.com)
Date: Fri, 17 Jun 2005 06:51:13 -0400
Thanks for the response. Won't this give me the domain that the user is in,
not necessarily the domain that the system is in? My concern is that in the
case where a users is a member of a trusted domain, the server's domain is
where I would have the group I need to check for the user's membership, so I
need to get the domain that the server is in to be able to check the user's
"Dominick Baier [DevelopMentor]" <firstname.lastname@example.org>
wrote in message news:email@example.com...
> Hello Ron,
> the UserDomain/UserDnsDomain environment variable contains this
> Dominick Baier - DevelopMentor
>> Thanks for the response. That is essentially what I am trying to
>> but I haven't been able to find a way to say "what domain is the
>> server I am
>> on a member of".
>> Ron L
>> "stand__sure" <firstname.lastname@example.org> wrote in message
>>> this is inelegant and I am sure that there is a better way, but...
>>> why not just create a remotable object that returns this information
>>> there should also be a way to do this with Active Directory...