S
SiPearson
Hi,
I'm writing an app that needs to get the domain the machine running it
belongs to. I know that you can do a Environment.UserDomainName, but
this returns the domain the user has logged onto.
What I have is a machine that sits on a resource domain called ***Res,
and a trusted domain the user logs onto the machine called Global.
The user always logs onto Global, but the machine could be on BobRes,
BillRes or BrianRes.
I'd be grateful if someone could help me found out which domain the
machine is on.
Many thanks
Simon
I'm writing an app that needs to get the domain the machine running it
belongs to. I know that you can do a Environment.UserDomainName, but
this returns the domain the user has logged onto.
What I have is a machine that sits on a resource domain called ***Res,
and a trusted domain the user logs onto the machine called Global.
The user always logs onto Global, but the machine could be on BobRes,
BillRes or BrianRes.
I'd be grateful if someone could help me found out which domain the
machine is on.
Many thanks
Simon