A user attribute is a piece of data that you can attach to an Imagenation entity (a document, page, or layer), or globally to Imagenation, such as a reference to an external database. Some are predefined, but you can also set your own. These are treated as a "black box"--the data is stored, but not manipulated in any way. All user attributes are stored as text.
To request current user attributes:
· Use the IN_GetUserAttribute function.
To set user attributes:
· Use the IN_SetUserAttribute function.
When setting your own user attributes, decide what object it makes the most sense to attach the attribute to--product (global), document, page, or layer. The number of user attributes that can be attached to an object or to the product is unlimited.
To delete user attributes:
· Use the IN_DeleteUserAttribute function.
Normally you would only delete a user attribute that you had created earlier but now is no longer required. Generally, you would not delete predefined user attributes.
For a list and description of predefined user attributes, click Predefined user attributes.