EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-12 11:04 PM
Hi there,
Dose somebody know how to enable/disable or show/hide an object (e.g. button) on GeoSCADA mimics based on the logged user group membership? I read previous similar threads but they weren't clear and I couldn't make this. Thanks
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-13 07:16 AM
[Moved from the Ideas list]
First, decide what privilege is to control visibility, such as Control. It depends on what the group members can do to that object or mimic. Then animate the visibility using the CheckAccess(privelige).
e,g: ".ValveAPoint.CheckAccess ('CTL')"
See:
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-19 06:35 AM
I'd run with what Steve suggested above if it's doable. This method checks permissions for a user against a specific object which is what people would want to do the majority of the time. If you have to check from the user group level then another option we've found, albeit likely heavier on the system, is to check for the username within the users a particular group returns.
I don't have it in front of me right now but I believe the syntax below is correct.
INSTRING(STR("Path.To.UserGroup.GetUsers()"),username()) > 0
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.