how can i do it?
.
"shimano" <ta...@hotmail.com> wrote in message
news:258d01c1e419$96701e10$36ef2ecf@tkmsftngxa12...
thank thank amd thank for ur reply!
can't find department and telephone inside ??
onli got full name and description...
regard
shimano
>.
>
Dim oConn,strQuery,oRS
oConn.Provider = "ADsDSOObject"
oConn.Open "Ads Provider"
strQuery= "<GC://DOMAINNAME>;(SAMAccountName=" & Session("LOGON_USER") &
_
");ADsPath,displayname,telephonenumber,Department"
Set oRS=oConn.Execute(strQuery)
Response.Write "Name:" & oRS("displayName")
Response.Write "Department: " & oRS("Department")
Response.Write "Telephone Number: " & oRS("telephonenumber")
"shimano" <ta...@hotmail.com> wrote in message
news:26e301c1e432$071d8f40$3bef2ecf@TKMSFTNGXA10...
erm, how come cannot work when i paste the code??
is there anything i need to change in order for it to
work??
thank for ur guidence!
>.
>
i change the domain name but how come it said object
reqired??
what actually happen?
object reuqire in this line?
oConn.Provider = "ADsDSOObject"
sorry for the trouble
>.
>
"shimano" <ta...@hotmail.com> wrote in message
news:213801c1e45d$1fa80100$a4e62ecf@tkmsftngxa06...