Add

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.
          Method 
          Member of  UserManager.Groups 

Description

Adds a new group to the server.

Syntax

Set NewGroup = Groups.Add (GroupName as String, [Comment as String], [Attributes as GroupAttributes = ga_DEFAULT])
 
Where Type Optional Default Description
 GroupName  String      
 Comment  String  yes     
 Attributes  GroupAttributes  yes  ga_DEFAULT   

Returns

Group - Object for managing local or global group.

Examples

 Enumerate all groups and account  
  Set Server = CreateObject("UserManager.Server")
  Server.Select ""
  For Each Group In Server.Groups
    Debug.Print Group.Name
    For Each User In Group.Users
      Debug.Print Group.Name, ",", User.Name
    Next User
  Next Group
  Other links for Add

Methods of Groups class

Properties of Groups class

UserManager.Groups

Contains methods and properties for enumerating groups.

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