AI OnAI Off
SidCollection hits = Sid.Search(SecurityIdentityType.AnyUserSid, false, null, firstname, lastname, email, null);
I would assume that adding a line like this (or similar):
hits.AddRange(Sid.Search(SecurityIdentityType.LdapGroup, false, firstname, lastname, lastname, email, null));
would do the trick?
Any suggestions?