Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using GetObject()
Message
De
04/07/2014 10:34:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using GetObject()
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603235
Message ID:
01603235
Vues:
71
Hi All

I am trying to find a way to code GetObject() in WinDev but I am not sure how to do it. I want to access the user's login full name and description as per the help file - from VFP Help:
   * For example, on a network that has implemented Active Directory Services, 
   * you can query the network for information on a particular user.
 
   *  Replace "DomainName" with the domain name, and "UserLoginID" with
   * the login ID of the user you are looking up.

   oUser = GetObject("WinNT://DomainName/UserLoginID,user")

   ? oUser.FullName
I cant find a similar thing in WinDev although there are so many functions that it might be there but I just cant find it right now. Is GetObject() calling some sort of Windows API that I could call directly instead? Or is there another approach to getting this info (the user's full name and description) ?

TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform