UserAdd

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Method 
          Member of  UserManager.User 

Description

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

Syntax

User.UserAdd (Name as String, Password as String, [ServerName 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. 
 ServerName  String  yes    Name of the remote server for the new user. 
 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. 

Remarks

      Only members of the Administrators or Account Operators local group can successfully execute UserAdd method.
      Only members of the Administrators local group can add an Administrators privilege account.
      This function is provided only for compatibility with old version of scripts. Please use Users.Add method.

See also

  Other links for UserAdd

UserManager.User

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

UserManager

Easy to use classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. Simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL.

© 1996 – 2006 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 2.03.68