Site hosted by Angelfire.com: Build your free website today!
PowerBuilder - Active Directory - Get information for the current user
 

Example code to get the current user from Microsoft Active Directory

Source : Listing1
Author : Jason Vogel
References Links : http://www.poboxes.com/jasonvogel
Source OleObject ads ads = CREATE OleObject ads.ConnectToNewObject( "ADSystemInfo" ) // CN=Doe\,Joe,OU=something,OU=somewhere,DC=bigbuilding,DC = local MessageBox("Active Directory - Username",String(ads.UserName))