Getting and setting document permissions

 

You may want to control which activities are allowed on particular documents, layers, and pages. The following list defines what permissions you can set for these document types:

Document type

Available permissions

Document

modify and print

Page

read, modify, delete, print, and hide

Layer

read, modify, delete, print, hide, static, and write. Layers for which "static" is set do not appear in the Layers window.

To set permissions for document objects:

· Use the IN_SetPermissions function. Replace the objectID parameter with the document ID, page ID, or layer ID.

The permissions values can be ORed. You can also request the permissions for a document object by using the IN_GetPermissions function.

See also

Setting user attributes