Obtener Dominio del equipo

J

Jose Nuñez

¿Es posible obtener a través de VBA o API el nombre del dominio al que está
unido el equipo?

En caso afirmativo, ¿es posible saber si es un dominio o un grupo de
trabajo?

Gracias.
Jose Nuñez
Montevideo
 
J

Jose Nuñez

Thanks for your prompt reply. This message was originally written to be sent
to the spanish group and it was sent here by mistake.

The article that you mention is about the Domain where the current user is
logged. But I'm trying to find the way to obtain the Domain which the
computer is joined.

The machine could be joined to a domain or to a workgroup. If the machine is
joined to a domain then the current user could be logged in the local
machine (a local user) or in the domain where the machine is joined.

I would like to know:
- if the machine is joined to a domain or a workgroup
- the name of the domain or workgroup

The function that I'm developing in an Access application needs this
information for validation.

Regards.
Jose Nuñez
Montevideo
 

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

Top