MOTOBIT.COM - ASP upload, IIS utility Add Method of Users class

Method | Member of  UserManager.Users | Changes | Purchase | Download


Adds a user account and assigns a password and privilege level.


Set NewUser = Users.Add (Name as String, Password as String, [Privilege as UserPrivileges = upUSER], [Flags as UserFlags = ufSCRIPT])

Where Type Optional Default Description
 Name  String     The name of the new user account. 
 Password  String     The password of the new user specified in the Name param. 
 Privilege  UserPrivileges  yes  upUSER  One of three values specifying the level of privilege assigned the usri1_name member. 
 Flags  UserFlags  yes  ufSCRIPT  Contains values that determine several features. 


User - Properties of the user account, and methods for creating, deleting and selecting users.


Adds user account named "Coll" to the local server

Set Users = CreateObject("UserManager.Users")
Set User = Users.Add("Coll", "Password")
User.FullName = "Mr. Alex Coll"

See also

User.UserAdd, User.Delete

Other links for Add

Methods of Users class

Add, SelectServer

Properties of Users class

Count, Filter, Item, Items, Server


Collection of user accounts (Domain/Server accounts),


ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: