SetUserAccess(AccessMode As Integer)
Application object
Sets the access mode for the current user to a specific 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 |
Administrator permissions. Can access all modules and change everything. |
0x2 |
Manager access. Start Manager and complete access to profile/definition editing. |
0x4 |
Scan access. Start Scan and run jobs. |
0x8 |
Interpret access. Start Interpret and run jobs. |
0x10 |
Verify access. Start Verify and run jobs. |
0x20 |
Transfer access. Start Transfer and run jobs. |
Example
If you want to define a user who can run Interpret and Verify, supply a value with bit 4 and 5 set to one. The decimal value will then be 24.
Related topic