Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspAnGetPrivilege

DspAnGetPrivilege

Gets the privileges configured for an object at a specific AN (animation-point number). The privilege is returned as an integer.

Note: This function does not return the privileges of keyboard commands associated with the object.

Syntax

DspAnGetPrivilege(AN)

AN:

The animation-point number.

Return Value

The privilege if successful, otherwise an error is returned. A privilege of 0 (zero) means no privileges are configured for the object.

Related Functions

DspAnGetArea

Example

/* Get the privileges of the object at AN45. /
DspAnGetPrivilege(45);

See Also

Display Functions