Create Users and Add Them to Groups

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
Use this code if you need to create a new user and add them to the administrators group.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: