Last post Aug 19, 2005 05:08 AM by xpding
Aug 18, 2005 06:47 AM|xpding|LINK
Aug 18, 2005 12:04 PM|dunnry|LINK
The "member" attribute returns the string like below for each member:
How can I get this member's SAMAccountname? The name return by member attribute is the firstname + lastname, I wonder a domain might can contains users with the same firstname and last name, so I would like to get the unique samAccountname instead. How can
I achieve this?
Aug 18, 2005 12:16 PM|xpding|LINK
Aug 18, 2005 01:44 PM|dunnry|LINK
Aug 19, 2005 05:08 AM|xpding|LINK
Thank you very much, it works and the code is neat as well :-)
One more question, I need allow user to search users that belong to a given group and a given organizational unit as well. But it seems as long as I put the OU=Dev in the LDAP path to create a directoryentry and then get users from the group as above, then
no result found.
How can I get users that belong to a given group and OU in the same time?