Collection of user accounts (Domain/Server accounts),
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.) |
Add | Adds a user account and assigns a password and privilege level. | |
SelectServer | Select the server and filter for Users collection |
Count | Count of users in the Users collection. |
Long, RO | |
Filter | Specifies a filter of account types to enumerate. |
UsersFilter, RO | |
Item | Retrieves one user account. |
User, RO | |
Items | Returns all users in the collection as an safearray. |
Variant, RO | |
Server | Remote server for the Users collection. |
Server, RO |
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 |
User, Users, Group, Server, Groups, GroupMembers, RasUser, Servers, Domain
UsersFilter, GroupAttributes, UserFlags, UserPrivileges, ServerTypes, LogonTypes, LogonProviders, OperatorPrivileges, RasPrivileges, SIDNameUse
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