G
Guest
I have the following code to show all members of a domain
global group that is selected from a drop down list. I
can display the property "member" just fine which shows a
listing like:
CN=Jones\, Bill, CN=Group, OU=domain
However, I need to go a step further and display other
information about a user such as phone number, building,
etc. Is there anyway to find the information I need from
AD with what is returned form the property "Member". Or
is there a better way for me to do this?
Thanks
Dim groupEntry As New DirectoryEntry("LDAP://" &
ddl_ggselect.SelectedValue)
Dim entryMembers As PropertyValueCollection
entryMembers = groupEntry.Properties("Member")
Dim memberValue As Object
For Each memberValue In entryMembers
Response.Write(memberValue & "<br>")
'Right here I need to go a step further and
connect to the memberValue variable to return more
information about the retrieved user.
Next
global group that is selected from a drop down list. I
can display the property "member" just fine which shows a
listing like:
CN=Jones\, Bill, CN=Group, OU=domain
However, I need to go a step further and display other
information about a user such as phone number, building,
etc. Is there anyway to find the information I need from
AD with what is returned form the property "Member". Or
is there a better way for me to do this?
Thanks
Dim groupEntry As New DirectoryEntry("LDAP://" &
ddl_ggselect.SelectedValue)
Dim entryMembers As PropertyValueCollection
entryMembers = groupEntry.Properties("Member")
Dim memberValue As Object
For Each memberValue In entryMembers
Response.Write(memberValue & "<br>")
'Right here I need to go a step further and
connect to the memberValue variable to return more
information about the retrieved user.
Next