Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ingroup or ifmember

Status
Not open for further replies.

lpwashu

IS-IT--Management
Feb 12, 2003
19
0
0
US
What is the syntax to check if a member is in a particular group? Hopefully I do not have to shell out to ifmember.exe. I can generate a complete list of groups but I would like to check for specific groups.

Thanks
 
Thanks but the article went over adding a group, removing a group and adding/removing a user from a known group. I found nothing on the syntax for querying to find if a user is a member of a specific group.

Right now I am getting all groups of which the user is a member and running a Select Case to break out specifics but it is cludgy when users are members of multiple groups I'm interested in.

 
Thanks, I can make that work I do believe. I just did not go back far enough in the archived threads.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top