IN_GetPermissions

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_GetPermissions function returns the permissions for the specified document, page, or layer.

Syntax

int IN_GetPermissions( objectID, pPerms )

Input Parameters

Meaning

IN_OBJECT objectID

identifier of the document, page, or layer to query

Output Parameters

Values

Meaning

ULONGPTR pPerms

IN_PERM_READ (1) read

IN_PERM_WRITE (2) write

IN_PERM_CREATE (4) create

IN_PERM_MODIFY (8) modify

IN_PERM_DELETE (16) delete

IN_PERM_PRINT (32) print

IN_PERM_VISIBILITY (64) 
display

IN_PERM_STATIC (128) static. Static layers are not added to the Layers window.

IN_PERM_USER1 (256) user defined

IN_PERM_USER2 (512) user defined

(Can be concatenated or ORed)

Release information

Added to Imagenation for Windows in Release 4.41.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Getting and setting document permissions