>>> oGroup = GETOBJECT("WinNT://" + cDomain
+",domain")
>
>Larry, I assume you mean:
>
>oGroup = GETOBJECT("WinNT://" + cDomain, "domain")
>
>but, this doesn't work -- "class definition domain does not exist"
>
Josh,
No. You need to create an ADSI moniker string. One part of the string is the class specification. Example:
lcdom = 'WinNT://MyDomain,domain'
oGroup = getobject(lcdom)
The top example bypasses the variable assignment.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao