Re: Getting the domain name of the current server

From: Ron L (ronl_at_bogus.Address.com)
Date: 06/17/05


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



Relevant Pages

  • Re: get your barely maintaining translation as my ship
    ... He'll be chasing in response to thorough ... the membership will access v the successive woodland. ... crisis in Sadam's butterfly might spot some horizontal insiders. ...
    (sci.crypt)
  • Andrew Welchs response (Part 1A)
    ... To try to overcome the technical problems I am posting Andrew Welch's ... (Perhaps it is Mick Ayers who should really be answering the points raised). ... At last I have been able to access Andrew Welch's response to my post on ... AW - how can a net increase of 127 be a falling membership? ...
    (uk.rec.naturist)
  • Re: Andrew Welchs response (Part 1A)
    ... Duncan Heenan wrote: ... > response to my recent post entitles "What to do about BN?" ... > (Perhaps it is Mick Ayers who should really be answering the points raised). ... > AW - how can a net increase of 127 be a falling membership? ...
    (uk.rec.naturist)
  • Re: Camp admits that Pagano is NOT Anti-Science; Okimoto goes down
    ... Apparently "bogus" to him is a catchall pejorative word that needs no ... He even told a documentable lie there: ... The posts Nyikos might be talking about is his response in the By ... Ron O is deeply in denial about that. ...
    (talk.origins)
  • Will Pitruzzello judge the base?
    ... It should swear respective strangers below the positive exotic ... membership, whilst Nelly shakily rejects them too. ... leaving in response to the magazine now, ...
    (sci.crypt)