PreviousNext

add member(8rpc)

Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry

Synopsis

rpccp add member group-entry-name -m member [-s syntax]

Options

-m
Declares the name of a member to be added to the specified group entry (required).
You can add only one member at a time.

-s
Indicates the name syntax of the entry name (optional). The only value for this option is the dce name syntax, which is the default name syntax. Until an alternative name syntax becomes available, specifying the -s option is unnecessary.

Arguments

group-entry-name
Specifies the name of the target group. For an entry in the local cell, you can omit the cell name and specify only the cell-relative name.

Description
The add member command adds a member to a group in a name service entry. The name of the entry containing the group and the name of the new group member are required. The entry of a group may have been created previously (by either the add entry or add member command). If the specified entry does not exist, the add member command tries to create the entry.

Privileges Required

You need both read permission and write permission to the CDS object entry (the target group entry). If the entry does not exist, you also need insert permission to the parent directory.

Notes
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.

Examples
The following commands run the RPC control program (rpccp) and add the member /.:/LandS/anthro/Cal_host_3 to the group /.:/LandS/anthro/Calendar_group:

rpccp> add member \
>
-m /.:/LandS/anthro/Cal_host_3 \
>
/.:/LandS/anthro/Calendar_group

Related Information
Commands:

remove group(8rpc)

remove member(8rpc)

show group(8rpc)