rpc_ns_group_mbr_add(3rpc)Adds an entry name to a group; if necessary, creates the entry Used by client, server, or management applications. Synopsis #include <dce/rpc.h> void rpc_ns_group_mbr_add( unsigned32 group_name_syntax, unsigned_char_t *group_name, unsigned32 member_name_syntax, unsigned_char_t *member_name, unsigned32 *status); Parameters Input
group_name_syntax To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide rpc_c_ns_syntax_default.
group_name This can be either the global or cell-relative name.
member_name_syntax To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide rpc_c_ns_syntax_default.
member_name Output
status
Description If the specified group_name entry does not exist, this routine creates the entry with a group attribute and adds the group member specified by the member_name parameter. In this case, the application must have permission to create the entry. Otherwise, a management application with the necessary permissions creates the entry by calling rpc_ns_mgmt_entry_create( ) before the application is run. An application can add the entry in member_name to a group before it creates the entry itself.
Permissions Required
Return Values Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
rpc_s_ok
rpc_s_class_version_mismatch
rpc_s_incomplete_name
rpc_s_invalid_name_syntax
rpc_s_name_service_unavailable
rpc_s_no_ns_permission
rpc_s_unsupported_name_syntax
Related Information rpc_ns_mgmt_entry_create(3rpc)
|