GAThrawn: Active Directory Group Membership Queries. The problem with being known as the person who can pull a list of group members from AD into a text file in a few seconds, you become a "go-to guy" for other AD queries.
Which wouldn’t be such a bad thing, except that there aren't pre-written scripts for them all! I received a request today to ask if I could pull out a list from AD of everyone who was a member of both a departmental group and a security group, here's how I did it. List the Members of an AD Group For anyone who doesn't know already, there are a couple of easy ways that I know of to print a list of the members of one active directory group to a text file: The "Command Line One-Liner"
Group Membership Tests. Programs demonstrating functions to test for group membership.
The method you chose to test for group membership will depend on the following factors - which client operating system the program will run on, how many group tests you anticipate, whether you want to recognize membership in nested groups, whether you want to recognize membership in the "Primary Group", how many users and/or computers you will test for group membership, whether you have cross-domain groups, and how many groups you have. An efficient function to test group membership for a single user. Fancy Code. Program demonstrating how to use Microsoft Internet Explorer to display a file open dialog to the user and determine the file selected.
Program demonstrating how to use Microsoft Internet Explorer to display a dynamic dialog box. The message in the box can be changed to indicate progress in the program. The program can detect when the user closes the dialog box and take appropriate action.