SetPagePerms

All Editions image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The SetPagePerms transaction sets the permissions for the specified page.

Type XTYP_EXECUTE

Syntax [SetPagePerms(docwinID, perm, <pageID>)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

perm

WORD

1

read

 

 

2

modify

 

 

4

delete

 

 

8

print

 

 

16

create

 

 

32

hide

 

 

256

user-defined 1

 

 

512

user-defined 2

 

 

(can be ORed)

 

pageID

DWORD

0 | pageID

current | specific. Optional parameter.

Release Information

Added in Release 3.70.

See also

Setting page and layer permissions