commadmin group delete

commadmin group delete

The commadmin group delete command marks a single group as deleted. To mark multiple groups as deleted, use the -i option.

To disable a group’s usage of services such as Calendar Server or Messaging Server use the -S option. Here S is in uppercase.

Note

In order to permanently remove a group, you must run the following command: commadmin domain purge. For details, see commadmin domain purge.

Syntax

commadmin group delete –D login –G groupname –n domain –w password [–d domain]
   [–h] [–?] [–i inputfile] [–p AM port] [–s] [–S service] [–v] [–V] [–X AM host]

Options

The following are mandatory options:

Option Description
-D login The user ID of the user who has permission to execute this command.
-G groupname The name of the group to be marked as deleted. For example, mktg-list.
-n domain The domain of the user specified by the -D option.
-w password The password of the user specified by the -D option.

The following are non-mandatory options:

Option Description
-d domain The domain of the group. If -d is not specified, the domain specified by the -n option is used.
-h, –? Prints command usage syntax.
-i inputfile Reads the command information from a file instead of the command line.

An option value specified in the input file overrides any value for the same option set in the command line.
-p AM port Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default AM port is used, or Port 80 is used if no default was configured at install time.
-s Use SSL (Secure Socket Layer) to connect to the Access Manager.
-S service Modifies the value of the specified service status attribute value to ”deleted’.

The services listed with the -S option are separated by a comma. The valid service values are mail and cal. These values are case-insensitive.
-v Enable debugging output.
-V Prints information about the utility and its version.
-X AM host Specifies the host on which the Access Manager is running. If not specified, the default AM host is used, or the localhost if no default was configured at install time.

Examples

The following example marks the group testgroup@varrius.com as deleted:

commadmin group delete –D chris –n sesta.com –w bolton –G testgroup \
–d varrius.com

The following example marks the mail service for testgroup@varrius.com as deleted:

commadmin group delete –D chris –n sesta.com –w bolton –G testgroup \
–d varrius.com –S mail

Labels

commadmin commadmin Delete
da da Delete
delegatedadministrator delegatedadministrator Delete
reference reference Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact