Parameters
This function takes the following parameters:
e
type
Returns
This function returns one of the following values:
•
A copy of the first value in the attribute.
•
NULL
Memory Concerns
When you are done working with this value, free it from memory by calling the
slapi_ch_free()
slapi_entry_attr_get_charray()
Gets the values of a multi-valued attribute of an entry.
Syntax
#include "slapi-plugin.h"
char ** slapi_entry_attr_get_charray( const Slapi_Entry* e,
const char *type);
Parameters
This function takes the following parameters:
e
type
Entry from which you want to get the string value.
Attribute type from which you want to get the value.
if the entry does not contain the attribute.
function.
Entry from which you want to get the values.
Attribute type from which you want to get the values.
Functions for Managing Entries
Chapter 15
Function Reference
329
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers