Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: ADSI - IADsUser does not return all user properties


Message #1 by "zn" <zn@4...> on Fri, 13 Apr 2001 18:39:08
Hello,

I'm sorry to have no answer for you, but I encountered today the same type
of problem.

I'm working with ASP,W 2000, ADSI and GetObject method. My directory is a 
GDS500 of Syntegra (also LDAP).
All the "natives" fields (like sn) are well returned but all the "home 
made" fields in the scheme are showed like leer.

Have you even find a solution ? In this case, I'll be happy to learn it.

Regards.

> HI, I am attempting to populate all user properties using IADsUser 
> especially "Department" & "sAMAccountName") - My issue is: "the code 
> returns NULL values".  I have been able to populate the properties for 
the 
> object Name, Class, GUID, Mail,.........
> 
> I have currently bound using the GetObject method.  I have also 
attempted 
> binding with OpenDSOObject with administrator priviledges. I get the 
same 
> results.
> 
> I am using ASP on a Windows 2000 o.s. (sp1).
> I am using the LDAP protocol
> I have confirmed that the values of "department" and "samaccountname" 
have 
> actually been entered by viewing the properties manually through ADSI 
Edit.
> The code works smoothly without returning any errors
> 

  Return to Index