Show Table of Contents
24.10. slapi_entry_attr_delete()
Deletes an attribute (and all its associated values) from an entry.
Syntax
#include "slapi-plugin.h" int slapi_entry_attr_delete( Slapi_Entry *e, const char *type );
Parameters
This function takes the following parameters:
|
e
| Entry from which you want to delete the attribute. |
|
type
| Attribute type that you want to delete. |
Returns
This function returns one of the following values:
- 0 if successful.
- 1 if the specified attribute is not part of the entry.
- -1 if an error occurred.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.