Hi friends,
i have a serious problem. is it possible to allocate an special picture (on DeltaV operate configure) for an special user (as operator or other)? for example, it means that operator could not see some pages on DeltaV Operate (Run).
In reply to AdrianOffield:
In reply to semova2:
Andre Dicaire
In reply to Andre Dicaire:
In reply to dave_marshall:
In reply to Tyler Anderson:
What version of DeltaV are you using.
In DV 13, the books online provide a way to find user group based on a userlock value.
I used the user-defined user locks. I renamed User Lock 01 to USERLOCK01 (as the script cannot handle spaces). The key USERLOCK01 was assigned to Engineers only.
DVSYS.THISUSER/USER_CAN[AREA_A][USERLOCK01].B_CV = 1 for engineers only
DVSYS.THISUSER/USER_CAN[AREA_A][USERLOCK01].F_CV = -1 for engineers only
As other user groups did not have USERLOCK01 assigned to them, it returned 0 for them. This can be done with default user locks as well provided there is a a unique user lock which separates different user groups.
In Older DV versions, this can be achieved by creating a module which has parameters assigned to each user lock(i.e. CAN_CONTROL parameter assigned to 'can control' key). Assign and download module to a controller.
If an operator doesn't have 'can control' key, a frswrite function to CAN_CONTROL parameter in the module will return error as operator doen't have 'can control' key. The error can be used to determine the user group of the current user.
The visibility of the open pictures can be set by VBA based of the function output.
Regards
Amod