Link to home
Start Free TrialLog in
Avatar of MajikTara
MajikTara

asked on

Is there simple way to ask from vb.net "Is this computer logged on to the Windows domain" and received Yes or No answer

My application needs to know if it is currently on our windows 2000 network domain. I would like to have the initial page contain code that asks this question and returns either Yes or No. (If yes then I will connect to MS SQL server for data, if no then use a local database).

Any help would be greatly appreciated.

Thanks MT
ASKER CERTIFIED SOLUTION
Avatar of 123654789987
123654789987

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MajikTara
MajikTara

ASKER

123654789987, I have read your response and see that I was not very clear in asking the question. What I was wanting was something like WNetGetUser api code where it looked only to determine if user is on our network. You get the points because you did answer my question as written.

Thanks for the help,
MT