Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using GetObject()
Message
From
04/07/2014 10:34:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using GetObject()
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603235
Message ID:
01603235
Views:
69
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.
Next
Reply
Map
View

Click here to load this message in the networking platform