This script will help you import users and group from CSV files. You can use it to:
- Create SP Groups with given permissions
- Import AD users to a SharePoint group
- Import AD groups with given permissions (also works for AD users)
You will find some CSV examples in the zip file.
Some command line examples: