Get Active Directory Domain Name

Got a problem you cannot solve? Try here.
Post Reply
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Get Active Directory Domain Name

Post by Edhy »

Hi All,

I need to install some files in my installation based on the setup being run under an specific active directory domain name like "mydomain.local".
Is there any way from IA X12 to query the system to find out if the current PC is part of an active directory domain name and read the domain name?

Thanks a lot!

P.S.
I've searching the forums and plugins sites but have not found anything related to reading the active directory domain for the PC running the setup file. :(
Edhy Rijo
Thom Child and Family Services
Edhy
Posts: 138
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Re: Get Active Directory Domain Name

Post by Edhy »

Hi All,

Well, I was able to find the command to get that information:

Code: Select all

Get System Setting Logged on Domain Name into DOMAIN_NAME
IA clipboard:

Code: Select all

~InstallAware Clipboard Data~
~Get System Settings~
~{41105DB5-EFD6-460E-A9A2-CEEB4162E954}~
~DOMAIN_NAME~
~62~
It works like a charm! :D
Edhy Rijo
Thom Child and Family Services
Post Reply