Users

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.
          Class 
          Member of  UserManager Use Users object 

Description

Collection of user accounts (Domain/Server accounts),

Object model

Users - Collection of user accounts (Domain/Server accounts), (Users property, Collection of domain users.)
Users - Collection of user accounts (Domain/Server accounts), (Users property, Collection of User objects from the server.)

Methods

Add Adds a user account and assigns a password and privilege level.
SelectServer Select the server and filter for Users collection

Properties

CountCount of users in the Users collection.
Long, RO
FilterSpecifies a filter of account types to enumerate.
UsersFilter, RO
ItemRetrieves one user account.
User, RO
ItemsReturns all users in the collection as an safearray.
Variant, RO
ServerRemote server for the Users collection.
Server, RO

Examples

 Enumerating user accounts in one server  
'Unlock all user accounts on the local computer
Set Users = CreateObject("UserManager.Users")
For Each User In Users
    User.LockOut = False
Next

'Write names of all user accounts
Set Users = CreateObject("UserManager.Users")
Open "AllUsers" For Output As #1
For Each User In Users
  Print #1, User.Name, User.FullName, User.UserComment, User.Flags
Next
Close #1

Used in

  Other links for Users class

ActiveX UserManager classes

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