I am investgating how to retrive O/S username information using powerbuider coding, find this from the net:
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))
which is quite nice,
how do I know what other attributes I can obtain from ads object besides UserName in above example, UserName is nice but it is a strange format...
any help is appreciated....
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))
which is quite nice,
how do I know what other attributes I can obtain from ads object besides UserName in above example, UserName is nice but it is a strange format...
any help is appreciated....