PreviousNext

sec_rgy_attr_sch_delete_entry(3sec)

Delete a schema entry

Synopsis

#include <dce/sec_rgy_attr_sch.h>

void sec_rgy_attr_sch_delete_entry(
sec_rgy_handle_t context,
sec_attr_component_name_t schema_name,
uuid_t *attr_id,
error_status_t *status);

Parameters

Input

context
An opaque handle bound to a registry server. Use sec_rgy_site_open( ) to acquire a bound handle.

schema_name
Reserved for future use.

attr_id
A pointer to a uuid_t that identifies the schema entry to be deleted.

Output

status
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.

Description
The sec_rgy_attr_sch_delete_entry( ) routine deletes a schema entry. Because this is a radical operation that invalidates any existing attributes of this type on objects dominated by the schema, access to this operation should be severely limited.

Permissions Required
The sec_rgy_attr_sch_delete_entry( ) routine requires the d permission on the attr_schema object.

Files

/usr/include/dce/sec_rgy_attr_sch.idl
The idl file from which dce/sec_rgy_attr_sch.h was derived.

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.

sec_attr_sch_entry_not_found

sec_attr_unauthorized

sec_attr_svr_read_only

sec_attr_svr_unavailable

sec_attr_no_memory

error_status_ok

Related Information
Functions:

sec_intro(3sec)

sec_rgy_attr_sch_create_entry(3sec)

sec_rgy_attr_sch_update_entry(3sec)