Microsoft Windows XP Professional Administrators Guide

Adds, displays, or modifies local groups.

Syntax

net localgroup [groupname [/comment:"text"]] [/domain] net localgroup groupname {/add [/comment:"text"] | /delete} [/domain] net localgroup groupname name [ ...] {/add | /delete} [/domain]

Parameters

 

Parameter

Purpose


None

Displays the name of the server and local groups on the server.

[groupname]

Specifies the name of the local group.

[/comment:'text']

Adds or changes a comment for a new or existing group.

[/domain]

Performs the operation on the primary domain controller instead of locally.

name [ …]

Lists one or more usernames or group names to be added or removed from a local group.

/add

Adds either a username or a global group to a local group.

/delete

Removes a username or group name from a local group.

Категории