I shouldn't have said groups, it is somewhat misleading. Basically, I'm developing a new database to manage what crystal reports someone has access to. To do this, I will use their windows username (read using the system.securityprinciple you mentioned) and interrogate a 'groupmembership' table in my database, which provides a many-to-one relationship back to the 'groups' table in the same database. Because I was using a windows username, I needed to get a list of all users in the domain, so I could build the 'groupmembership' table - one user has many groupmemberships, one group has many groupmemberships. I just didn't know how to get at a list of users in a domain, having never used ADSI before!
Thanks,
Jaucourt
|