469,571 Members | 1,613 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,571 developers. It's quick & easy.

user's full name using ADSI

Trying to get a user's full name using ADSI. It works in our Win2000 Active Directory but fails when I try to get a user's full name from a trusted WinNT domain. The error is "Cannot create ActiveX component." Here's my code

Dim myObject As Objec
myObject = GetObject("WinNT://" & strDomain & "/" & strUsername & ",User"
Return myObject.FullName(

Any ideas why

Also: I tried using a LDAP path (LDAP://cn=Username, dc=Domain) and that didn't work either.
Jul 21 '05 #1
0 1207

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jason | last post: by
6 posts views Thread by Evgeny Zoldin | last post: by
reply views Thread by RCIC | last post: by
2 posts views Thread by Bill nguyen | last post: by
4 posts views Thread by Leszek | last post: by
6 posts views Thread by mc | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.