Re: Getting the domain name of the current server
From: Ron L (ronl_at_bogus.Address.com)
Date: 06/17/05
- Next message: Yoshitha: "Urgent Please"
- Previous message: Praisy: "Re: Appdomain.CreateDomain throws SecurityException"
- In reply to: Dominick Baier [DevelopMentor]: "Re: Getting the domain name of the current server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 17 Jun 2005 06:51:13 -0400
Dominick
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
group membership.
Ron L
"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:486029632544619001099392@news.microsoft.com...
> Hello Ron,
>
> the UserDomain/UserDnsDomain environment variable contains this
> information.
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
>> Stand__Sure
>> Thanks for the response. That is essentially what I am trying to
>> do,
>> 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" <stand__sure@hotmail.com> wrote in message
>> news:1118820390.614006.264100@g43g2000cwa.googlegroups.com...
>>
>>> 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
>>> to
>>> callers?
>>> there should also be a way to do this with Active Directory...
>>>
>
>
>
- Next message: Yoshitha: "Urgent Please"
- Previous message: Praisy: "Re: Appdomain.CreateDomain throws SecurityException"
- In reply to: Dominick Baier [DevelopMentor]: "Re: Getting the domain name of the current server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|