WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADSI
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Test if Object is a Group


Question:

Is there an easy way to test if an object is a group? I'm getting lists of users from groups, but we have some group nesting. I suppose that for every object returned by dsGetMemGrp I could try the same function, but it seems like there should be an easier way.

Answer:

Check the "objectClass" property of an object for "group".
Article ID:   W16326
File Created: 2005:02:18:12:19:48
Last Updated: 2005:02:18:12:19:48