Listing Directory Vuser Functions (MLDAP) > Alphabetical List of Functions > mldap_get_attrib_name_ex

mldap_get_attrib_name_ex

Example: mldap_get_attrib_name_ex Listing Directory Vuser Functions (MLDAP)

Gets the name of an attribute for a specific session.

char *mldap_get_attrib_name_ex( MLDAP *pldap, char *transaction, char *index,
[char *param,] LAST );
pldap A session identifier
transaction A transaction name for this step. To instruct VuGen not to create a transaction for this step, use a NULL string, "".
index The index of the attribute. Use the format: Index=attribute_number
param The name of a parameter storing the value. Use the following format: "Param=name"
LAST A marker indicating the end of the argument list.

The mldap_get_attrib_name_ex function retrieves the attribute name for the specified index, for the indicated session. You can optionally save this name to a parameter.

This function is for use with multiple sessions. For global or single sessions, use the mldap_get_attrib_name function, which leaves out the session identifier.

This function is not recorded. Add it if needed when enhancing your script.

Return Values

This function returns an attribute name, or NULL if no entries are available or if there is an error.

Parameterization

The following argument(s) can be parameterized with standard parameterization: index, paramt