Daby Bo
unread,Apr 26, 2012, 1:17:08 PM4/26/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi.
I have some problems with ADsGetObject().
ADsGetObject() returns an error: "There is a naming violation." HRESULT=0x80072037
I use it in this way:
HRESULT hResult = ADsGetObject( _T("LDAP://<SID=S-1-5-21-3090688366-220602789-926701516-1348>"), IID_IADsUser, reinterpret_cast<void**>(&ObjADs) );
This code works fine except one customer. What it could be?
BTW, something like this works good: ADsGetObject("LDAP://<GUID=.....>")
Thank you.