View Source

h1. {anchor:ACFDZ} commadmin admin add

The {{commadmin admin add}} command grants the Organization Administrators privileges to a user for a particular domain. Only a Top-Level Administrator or an ISP administrator can execute this command.

h2. {anchor:ACFEA} Syntax

{panel}
{{commadmin admin add –D _login_ –l _login_ –n _domain_ –w _password_}}{{ –d _domain_}}\\
{{    [–h] [–i _inputfile_ ] [–p _AM port_] [–X _AM host_] [–?] [–s] [–v] [–V]}}
{panel}

h2. {anchor:ACFEB} Options

The following options are mandatory:

||Option ||Description ||
|{{-D}} _login_|The user ID of the Top-Level Administrator.|
|{{-l}} _login_|The user ID of the user to whom you want to grant organization administrative privileges. The user should be present in the directory and be a part of the domain specified by the {{-d}} option.|
|{{-n}} _domain_|The domain of the Top-Level Administrator. If not specified, default domain stored in the {{cli-userprefs.properties}} file is used.|
|{{-w}} _password_|The password of the Top-Level Administrator.|
|{{-d}} _domain_|The domain to which you want to grant administrative privileges. If not specified, the domain specified by the {{-n}} option is used.|

The following options are non-mandatory:

||Options ||Description ||
|{{-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_|Use this option to specify 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.|
|{{-X}} _AM host_|Specify the host on which the Access Manager is running. If not specified, the default _AM host_ is used|
|{{–h}}, {{-?}}|Prints command usage syntax.|
|{{-V}}|Prints information about the utility and its version.|
|{{-s}}|Use SSL (Secure Socket Layer) to connect to the Access Manager.|
|{{-v}}|Enable debugging output.|


h2. {anchor:ACFEC} Examples
The following grants Organization Administrator privileges to the user with the user ID {{admin1}}.
{panel}
{{commadmin admin add –D chris –n sesta.com –w bolton –l admin1 \}}
{{–d florizel.com}}
{panel}
The following grants Organization Administrator privileges to the user with the user ID {{admin2}} for the domain {{florizel.com}}.
{panel}
{{commadmin add admin –D chris –w bolton –l admin2 –n varrius.com \}}
{{–d florizel.com}}
{panel}

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