Adds a user account and assigns a password and privilege level.
User.UserAdd (Name as String, Password as String, [ServerName as String], [Privilege as UserPrivileges = upUSER], [Flags as UserFlags = ufSCRIPT])
|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.|
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.
AuthFlags, BadPasswordCount, CodePage, Comment, CountryCode, Disabled, Expires, Flags, FullName, Groups, HomeDir, HomeDirDrive, ID, LastLogOff, LastLogon, LocalGroups, LockOut, LogonHours, MaxStorage, Name, NumOfLogons, Password, PasswordAge, PasswordCannotChange, PasswordExpired, PasswordNeverExpires, PasswordNotRequired, PrimaryGroupID, Privilege, Profile, Ras, ScriptPath, Server, UserComment, Workstations
Properties of the user account, and methods for creating, deleting and selecting users.
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: email@example.com