rpc_ns_group_mbr_remove- removes an entry name from a group
#include <dce/rpc.h>
void rpc_ns_group_mbr_remove(
unsigned32 group_name_syntax,
unsigned_char_t *group_name,
unsigned32 member_name_syntax,
unsigned_char_t *member_name,
unsigned32 *status);
Input
- group_name_syntax
- An integer value that specifies the syntax of argument group_name. (See
Name Syntax Constants for the possible values of this argument.)The value rpc_c_ns_syntax_default specifies the syntax specified by the RPC_DEFAULT_ENTRY_SYNTAX environment variable.
- group_name
- The name of the group from which the member is removed. The group name syntax is identified by the argument group_name_syntax.
- member_name_syntax
- An integer value that specifies the syntax of argument member_name. (See
Name Syntax Constants for the possible values of this argument.)The value rpc_c_ns_syntax_default specifies the syntax specified by the RPC_DEFAULT_ENTRY_SYNTAX environment variable.
- member_name
- The name of the group member to remove. The member name syntax is identified by the argument member_name_syntax.
Output
- status
- Returns the status code from this routine. The status code indicates whether the routine completed successfully, or if not, why not.
Possible status codes and their meanings include:
- rpc_s_ok
- Success.
- rpc_s_entry_not_found
Name service entry not found.
- rpc_s_group_member_not_found
Group member not found.
- rpc_s_name_service_unavailable
Name service unavailable.
- rpc_s_no_ns_permission
No permission for name service operation.
- rpc_s_unsupported_name_syntax
Unsupported name syntax.
The rpc_ns_group_mbr_remove() routine removes a member from the group attribute in the group_name entry.Permissions Required
The application needs both read permission and write permission for the target name service entry.
None.
rpc_ns_group_mbr_add().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.
Contents | Next section | Index |