Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 273

Table of Contents

Advertisement

Returns
This function returns one of the following values:
LDAP_SUCCESS
LDAP_TYPE_OR_VALUE_EXISTS
existing value in the attribute.
LDAP_OPERATIONS_ERROR
attribute.
Description
This function adds an array of
attribute does not exist, it is created and given the value contained in the
Slapi_Value
This function replaces the deprecated
function uses
attribute values.
Memory Concerns
This routine makes a copy of the parameter
See Also
slapi_entry_add_values()
slapi_entry_add_valueset()
Add a
Syntax
#include "slapi-plugin.h"
int slapi_entry_add_valueset(Slapi_Entry *e, const char *type,
Slapi_ValueSet *vs);
Parameters
This function takes the following parameters:
e
type
vs
if the
Slapi_Value
array.
Slapi_Value
data value to the specified attribute in an entry.
Slapi_ValueSet
Entry to which you want to add values.
Attribute type to which you want to add values.
Slapi_ValueSet data value that you want to add to the entry.
array is successfully added to the attribute.
if any values you are trying to add duplicate an
if there are pre-existing duplicate values in the
data values to an attribute. If the
Slapi_Value
slapi_entry_add_values()
attribute values instead of the now obsolete
vals
Functions for Managing Entries
function. This
.
can be
.
vals
NULL
Chapter 14
Function Reference
berval
273

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents