Share this page

# mldap_get_attrib_name

Example: mldap_get_attrib_name | Listing Directory Vuser Functions (MLDAP)

Gets the name of the specified attribute.

    char *mldap_get_attrib_name( char *transaction, char *index, [char *param,] LAST );

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 to store the value. Use the following format: `"Param=`name`"`
LAST | A marker indicating the end of the argument list.

The mldap_get_attrib_name function retrieves the attribute name for the specified attribute index. You can optionally save this name to a parameter.

This function is for use with global sessions. For multiple sessions, use the mldap_get_attrib_name_ex function, which allows you to specify a 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

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: