Example: mldap_get_attrib_nameListing Directory Vuser Functions (MLDAP)

Gets the name of the specified attribute.

char *mldap_get_attrib_name( char *transaction, char *index, [char *param,] LAST );
transactionA transaction name for this step. To instruct VuGen not to create a transaction for this step, use a NULL string, "".
indexThe index of the attribute. Use the format: Index=attribute_number
paramThe 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.


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