Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hitting Error when trying to access the Property of the oLE object

69 views
Skip to first unread message

Ranjith Singh Thangaseelan

unread,
Dec 26, 2011, 3:17:20 AM12/26/11
to
Hi,

I am trying to access the Active Directory user name using the
following code but getting error message with "Error accessing
external object property". Can any 1 help me to sort this out?

Find the code below

OleObject ads

ads = CREATE OleObject

messagebox('s',ads.ConnectToNewObject( "ADSystemInfo" ))

// CN=Doe\,Joe,OU=something,OU=somewhere,DC=bigbuilding,DC = local

MessageBox("Active Directory - Username",String(ads.UserName))

Regards,

Ranjith

bruce.a...@yahoo.com

unread,
Feb 7, 2012, 11:19:17 AM2/7/12
to
This group has been marked read only on the Sybase server. In addition, the feed between Google and the Sybase server is not currently working. If you post through Google the post will never show up on the Sybase server, and most people who answer questions in that group will never see it. Instead, you may want to access the Sybase newsgroups directly at:
http://www.sybase.com/detail_list?id=11507&pageNum=1&multi=true&show=1248
0 new messages