Can someone please help me with syntax? I cannot seem to get to the detail information for the entries in my Active Directory. I want the otherTelephone information for each userid in my active directory system. I am obviously missing something.
I have ou's of
ou=division
ou=company name inc.
ou=state
ou=MIS
I do not know how to build this properly. Any help would be appreciated. I get the message 'Login Was Successful'
set userObj = GetObject("LDAP:"
set X = userObj.OpenDSObject("LDAP://dc=local,dc=company,dc=com", "admin", "", 0)
If err.number = 0 Then
Response.Write("Login Was Successful: " & uid)
' ETollf = X.get("otherTelephone"
<- DOES NOT WORK
' ETollf = X.get("fullName"
<- DOES NOT WORK
end if
set userObj = nothing
set X = nothing
I have ou's of
ou=division
ou=company name inc.
ou=state
ou=MIS
I do not know how to build this properly. Any help would be appreciated. I get the message 'Login Was Successful'
set userObj = GetObject("LDAP:"
set X = userObj.OpenDSObject("LDAP://dc=local,dc=company,dc=com", "admin", "", 0)
If err.number = 0 Then
Response.Write("Login Was Successful: " & uid)
' ETollf = X.get("otherTelephone"
' ETollf = X.get("fullName"
end if
set userObj = nothing
set X = nothing