I`m working with Active Directory service interfaces and trying to retrieve all users out of a group. I have this line of code which brings me the group itself:
var
Group:IADSGroup;
begin
ADsGetObject('LDAP://CN=myGroup,CN=Users,DC=dltomb,DC=dltomb25,DC=com', IADSGroup, Group);
......
the IADSGroup interface has a "IsMember" function that gets a WideString representing a user, and should return true if the user is a member of this group. the problem is that i always get a negative answer from this one... (the user i`m checking is the only user of this group and also checked Group.Count to see that there is one member in this group). if would really like some help regarding this issue, even if someone can point on other workaround such as enumerating the group members (I couldn't do this also)