SetUserJobAccess(AccessMode As Integer)
Application object
Sets the access mode for the current user to a specific job mode. Use in the AppUserLogin event, since it has no effect if used in AppStart.
Supply a bit mask, where the bits have these meanings:
Value (hex) |
Meaning |
---|---|
0x1 |
Job access in Manager. Permission to create job descriptions. |
0x2 |
Job access in Manager. Permission to modify job descriptions. |
0x4 |
Job access in Manager. Permission to delete job descriptions. |
0x8 |
Job access in Manager. Permission to save job descriptions. |
0x10 |
Job access in Scan. Permission to create job descriptions. |
0x20 |
Job access in Scan. Permission to modify job descriptions. |
0x40 |
Job access in Scan. Permission to delete job descriptions. |
0x80 |
Job access in Scan. Permission to save job descriptions. |
0x100 |
Job access in Interpret. Permission to create job descriptions. |
0x200 |
Job access in Interpret. Permission to modify job descriptions. |
0x400 |
Job access in Interpret. Permission to delete job descriptions. |
0x800 |
Job access in Interpret. Permission to save job descriptions. |
0x1000 |
Job access in Verify. Permission to create job descriptions. |
0x2000 |
Job access in Verify. Permission to modify job descriptions. |
0x4000 |
Job access in Verify. Permission to delete job descriptions. |
0x8000 |
Job access in Verify. Permission to save job descriptions. |
0x10000 |
Adjust access in Verify. Permission to adjust invoices. |
0x20000 |
Approve access in Verify. Permission to approve invoices. |
0x40000 |
Learn access in Verify. Permission to learn invoices. |
0x80000 |
Manual punch access in Verify. Permission to key in invoice data manually. |
0x100000 |
Job access in Transfer. Permission to create job descriptions. |
0x200000 |
Job access in Transfer. Permission to modify job descriptions. |
0x400000 |
Job access in Transfer. Permission to delete job descriptions. |
0x800000 |
Job access in Transfer. Permission to save job descriptions. |
0x1000000 |
EI_TRAINER_CREATE - not used. |
0x2000000 |
EI_TRAINER_MODIFY - not used. |
0x4000000 |
EI_TRAINER_DELETE - not used. |
0x8000000 |
EI_TRAINER_SAVE - not used. |
0x10000000 |
EI_MANAGER_SYSTEM - Permission to define new users. |
0x20000000 |
EI_MANAGER_PRODUCTION - Permission to edit invoice definitions. |
Related topic