MOTOBIT.COM - ASP upload, IIS utility Name Property of Group class

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

Description

The name of the group.

Syntax

vName = Group.Name
Group.Name = vName

Returns

String

Examples

Rename the group

  Set Server = CreateObject("UserManager.Server")
  
  Set Group = Server.LocalGroups("Administrators")
  Group.Name = "NewName of Admin group" 'rename to the new name
  Group.Name = "Administrators" 'rename to the old name

Other links for Name

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