Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ADSI
Message
 
 
À
31/01/2001 12:23:31
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00469784
Message ID:
00470925
Vues:
27
>Thanks for your answer Mike.
>The example you give me works fine:
>oUser = GETOBJECT("WinNT://serverh/hlizarraga,User")

>but why not this others:
>oUser = GETOBJECT("WinNT://Informatica/Rhdinf14/hlizarraga,User")
>oComputer = GETOBJECT("WinNT://Rhdinf14,Computer")

It depends on your domain structure. In my case here at Microsoft, I'm a user on the domain, and my box also belongs to a domain. In your first example above, I'm willing to bet that you aren't a user on that box. serverh/hlizarraga may be a user on that box, but just plain hlizarraga isn't.

In your second example, your computer probably belongs to a domain, so the domain server needs to be specified. In this case, you're saying that Rhdinf14 is at the top of the domain, and it isn't.
Mike Stewart
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform