sec_rgy_pgo_delete_member-Deletes a member of a group or organization
#include <dce/pgo.h> void sec_rgy_pgo_delete_member( sec_rgy_handle_t context, sec_rgy_domain_t name_domain, sec_rgy_name_t go_name, sec_rgy_name_t person_name, error_status_t *status);
An opaque handle bound to a registry server. Use sec_rgy_site_open() to acquire a bound handle.
This variable identifies the type of the person, group, or organization (PGO) item identified by the given name. The valid values are as follows:
The go_name parameter identifies a group.
The go_name parameter identifies an organization.
A character string (type sec_rgy_name_t) containing the name of the group or organization from which the specified person will be deleted.
A character string (type sec_rgy_name_t) containing the name of the person to be deleted from the membership list of the group or organization specified by go_name.
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.
The sec_rgy_pgo_delete_member() routine deletes a member from the membership list of a group or organization. Any accounts in which the person holds the deleted group or organization membership are also deleted.
The sec_rgy_pgo_delete_member() routine requires the M (Member_list) permission on the group or organization item specified by go_name.
The idl file from which dce/pgo.h was derived.
The call was successful.
An invalid domain was specified. Members can exist only for groups and organizations, not for persons.
The client program is not authorized to delete the specified member.
The specified group or organization was not found.
The DCE Registry Server is unavailable.