Domain Name

G

Guest

HI, I have questation about computer domain . How I simpli get this
information from computer ? I want use systeminformation , properties
userdomainname , but this is user domain ...
thanx
marek
 
G

Guest

HI, I have questation about computer domain . How I simpli get this
information from computer ? I want use systeminformation , properties
userdomainname , but this is user domain ...

How about the environment variable USERDOMAIN?
 
G

Guest

the user domain is domain for user , or computer ?
Sorry, I misunderstood your question. You may want environment variable
COMPUTERNAME, or you may want to use api IADsWinNTSystemInfo to get the
primary domain controller name. I'm not sure, and I'm on shaky ground here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top