Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine A User's Full Name
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00577470
Message ID:
00664049
Views:
45
>>>  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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform