MOTOBIT.COM - ASP upload, IIS utility List of groups that 'Administrator' belongs to

Sample for UserManager | Changes | Purchase | Download

Examples

List of groups that 'Administrator' belongs to 
Dim S, Group
Set S = CreateObject("UserManager.Server")
For Each Group In S.Users("administrator").Groups
    Debug.Print "<br>" & Group.Name & "," & Group.Comment
Next

Other links for the List of groups that 'Administrator' belongs to sample

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