Hi,
i want to get all info about a certain user in the Active Directory,
i tried to use the following code:
When i use this code it can give me small portion of info such as Full Name, but i cant get the mail address, cause i have an error as follows:VB Code:
Set oContainer = GetObject("WinNT://" + "ITAcademy.com") For Each oIADs In oContainer If (oIADs.Class = "User") Then Set oUser = oIADs
googlin around i found the winNt objects doesn't support such info, so i need to use LDAP code, is there any sample around?VB Code:
' The directory property cannpt be found in the cache
thanks,




Reply With Quote