The GetLayerPerms transaction returns the current permissions for the specified layer.
Type XTYP_REQUEST
Syntax [GetLayerPerms(docwinID, layerID, <pageID>)]
|
Parameter |
Data type |
Values |
Meaning | ||||
|
docwinID |
DWORD |
0 | docwinID |
active | specific | ||||
|
layerID |
DWORD |
identifier of the layer to query | |||||
|
pageID |
DWORD |
0 | pageID |
current | specific. Optional parameter. | ||||
|
Reply |
Data type |
Values |
Meaning | ||||
|
perm |
WORD |
1 |
read | ||||
|
|
|
2 |
modify | ||||
|
|
|
4 |
delete | ||||
|
|
|
8 |
| ||||
|
|
|
16 |
create | ||||
|
|
|
32 |
hide | ||||
|
|
|
256 |
user-defined 1 | ||||
|
|
|
512 |
user-defined 2 | ||||
|
|
|
1024 |
static (a layer that is not added to the Layers window) | ||||
|
|
|
2048 |
write | ||||
|
|
(can be ORed) |
| |||||
Release Information
Added in Release 3.70.
See also