>One other question;
>
>Any way to determine the domain name[s] programmatically?
>
>Thanks
Yes, you can create an instance of the NT namespace object and query its members for all domains present.
ons = createobject('WinNTNamespace')
for each ox in ons
if upper(ox.Class) = "DOMAIN" then
endif
endfor
Note: If your system is connected to a WAN with a number of trusted domains spread over a wide geographic area, you will be waiting for a long time. ;-)
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao