Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading active directory infos
Message
 
 
À
08/06/2007 06:39:18
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01231513
Message ID:
01231521
Vues:
17
The code is from Re: How to get the full username(displayname) from the AD Message #984716. 2 years seems enough time to understand it. :)
The first parameter is the name of the user. If it's not supplied, currently logged use name is assumed.
lcUserName = "JohnDoe"
oUser = GetADUserInfo(lcUserName, .T.)
* Update user title
oUser.Put("Title", "Sr. Programmer/Analist")
* Save
oUser.SetInfo()
>
>Our application use the following procedure at start to get some infos about the current user.
>
<snip>
>
>I just copied it from an example file ! ;-)
>Everything works as expected, nevertheless i don't really understand it !!!
>
>Now i have to sync a SAP System with our application.
>I have a cursor with employeeids and some spezial infos from SAP and
>i need to find the ad infos for a given employeeid (not for the current logon user).
>
>I don't know how to handle this.
>Can someone give me an example, how to read the ad infos for a given employeeid ???????
>
>Any help welcomed
>Best regards
>Albert
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform