MOTOBIT.COM - ASP upload, IIS utility Delete Method of Group class

Method | Member of  UserManager.Group | Changes | Purchase | Download

Description

Deletes a local group account and all its members from the accounts database.

Syntax

Group.Delete

Examples

Create and delete a local group

  Set Server = CreateObject("UserManager.Server")
  
  Server.LocalGroups.Add "BadGroup"
  Server.LocalGroups("BadGroup").Delete

Other links for Delete

Methods of Group class

Delete, GroupAdd, Select

Properties of Group class

Comment, ID, Members, Name, Server

UserManager.Group

Object for managing local or global group.

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