The syntax of this command is:
NET GROUP [groupname [/COMMENT:"text"]]
groupname {/ADD [/COMMENT:"text"] | /DELETE}
groupname username[ ...] {/ADD | /DELETE}
This command adds, displays, or modifies global groups. It can
only be used on a domain controller.
COMMENTS
To display the name of the server and the names of global groups
on the server, type "net group" without options.
To operate on a particular global group, type
net group groupname ...
OR
net group 'groupname containing spaces' ...
OR
net group "groupname containing spaces" ...
E.G
net group sales OR
net group 'domain admins' OR
net group "domain admins"
Use the "net group" command to group users who use the network
in the same or similar ways. This is helpful when assigning
resource permissions (net perms). When you assign
permissions for a group, each member of the group
automatically has these permissions.
This command can also be typed "net groups". A display of global
groups on the server is similar to the following:
Group Accounts for \\PRODUCT_ASU
-------------------------------------------------------------------
*Domain Admins *Domain Guests *Domain Users
Notice that each groupname is preceded by an asterisk ( * ).
This distinguishes groups in displays that include both
users and groups.
When you type the "net group" command at a backup domain
controller, changes to the accounts database are automatically
made at the primary domain controller and then copied to backup
domain controllers. There is a delay before changes take effect.
EXAMPLES
At a UNIX system console, to display a list of all the
groups on a server, type the following:
net group
To add a group called sales to the accounts database, type the
following:
net group sales /add
To add the existing user accounts stevev, ralphr, and jennyt
to the sales group, type the following:
net group sales stevev ralphr jennyt /add
To display users in the sales group, type the following:
net group sales
To add a comment to the sales group record, type the
following:
net group sales /comment:"The sales staff."
To run the same command remotely (on server "market_asu"), type
the following (replacing "password" with the password for
"administrator":
net admin \\market_asu password /command net group
sales /comment:"The sales staff."
SEE ALSO
For information about See
_____________________ _________
Getting help with network commands net help
Assigning resource permissions to net perms
groups
Managing user accounts net user
Backup and primary domain controllers net accounts
Managing local groups net localgroup
To get Help on command options, type "net help {command} /options | more".
To get Help one screen at a time, type "net help {command} | more".