GetPagePerms

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

The GetPagePerms transaction returns the current permissions for the specified page.

Type XTYP_REQUEST

Syntax [GetPagePerms(docwinID, <pageID>)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

pageID

DWORD

0 | pageID

current | specific. Optional parameter.

Reply

Data type

Values

Meaning

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)

 

Release Information

Added in Release 3.70.

See also

Setting page and layer permissions