# Synopsis

PDX_MSGT gdx_EntityGetUserAttributes2(long option, MDA_PTR gdx_entity_ptr, MDA_COUNT *nattributes, char ***attribute_names, MDA_COUNT **nfields, char ****field_names, char ***field_types, GDX_USER_ATTRIBUTE_UNION ***field_values)

# Purpose

Get the user attribute information.

# Description

Get the user attribute information associated with the specified entity. See also gdx_EntityGetUserAttributes for similar functionality. Note, All the arrays must be freed by the calling application.

# Input

## option

Not used

## gdx_entity_ptr

Database pointer of entity to get user attribute information for

# Output

## nattributes

Number of user attributes

## attribute_names

Array of attribute names

## nfields

Array of number of fields for each attribute

## field_names

Array of field names for each attribute

## field_types

Array of field types for each attribute

## field_values

Array of field values for each attribute

# Return

          GDX_INVALID_DBPTR
          GDX_NOERR
          .fi