MpUserX Session

Hi,

I’m transitioning from a Rockwell and Siemens programming background. So I’ll be eventually flooding the forum with some questions :sweat_smile:

I have some questions about the usage case between the Application and the Visualization session in mappView.

Reading the help, it was not clear to me when a Visualization session would not be enough for a machine with a single HMI. When would an Application Session be mandatory?

Some local folks told me that for specific functionalities, such as Audit Trail and Signature, the Application Session is needed.

However, as far as I understood from the help, I can use the AuditTrail and Signature within a Visualization Session, am I right?

Regarding the export/import functions, I couldn’t find anything about how they work within a visualization session.

Thanks in advance.

This is not an easy question as it looks like. :slight_smile:

I understand terms like these:

Application session = backend = PLC itself = e.g. MV server run there
Visualization session = frontend = any panel or HW where MV client runs

Two additional terms I would like to introduce:

  • RBAC = role-based access control and user management
  • MpUserX = mappServices for user management and access control, it is in fact an extension of RBAC

Q1: When logging into a Visualization session would be enough?
A1: If you would like to limit only user control of the visualization according to his rights/role (admin, service, operator), and you do not need anything else, then logging into the visualization session would be enough. In this case, you do not need MpUserX for that; role-based access control is enough.

Q2: When is MpUserX only for the visualization session used?
A2: If you like the benefit from user management settings introduced by MpUserX e.g. password policy, etc. Also, the UserList widget works only with this authentication, but you are still interested only in limiting user access on the client side.

Q3: When is MpUserX for the visualization and application session used?
A3: In short, everything else. E.g. if you would like to limit your backend application functionality based on actual logged in user and rights of his roles

Note:
In mappView configuration, we speak about the parameter authentication mod.

Note 2:
I really simplify it. I’m not sure how far you are with knowledge collection, but this is the absolute minimum you should know.

To continue this discussion, maybe you can tell us what your use case for roles and authentication is, what you need for frontend and backend from roles and their rights perspective. And last but not least, if you are using AS4 or AS6, because there were some changes introduces.

I would also encourage others to reply here :slight_smile: maybe my look is too complicated. :slight_smile:

1 Like

I also found there were a lot discussion related to MpUserX in the past

https://community.br-automation.com/search?q=MpUSerX

So this is definitely something you can read and pick up knowledge from it :slight_smile: weekend is long :slight_smile: