Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine A User's Full Name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00577470
Message ID:
00664049
Vues:
47
>>>  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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform