MOTOBIT.COM - ASP upload, IIS utility Items Property, read only of Users class

Property, read only | Member of  UserManager.Users | Changes | Purchase | Download

Description

Returns all users in the collection as an safearray.

Syntax

vItems = Users.Items

Returns

Variant

Examples

Enumerate server users

Dim Server, User, Users, I
Set Server = CreateObject("UserManager.Server")

'Put all users to an array
Users = Server.Users.Items

'Go through the array
For i=0 To UBound(Users)
   Wscript.Echo Users(I).Name
Next

See also

Groups.Items, GroupMembers.Items, Servers.Items

Other links for Items

Methods of Users class

Add, SelectServer

Properties of Users class

Count, Filter, Item, Items, Server

UserManager.Users

Collection of user accounts (Domain/Server accounts),

UserManager

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: info@pstruh.cz