Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

How to disable Mimic buttons using user group id of the user logged

Remote Operations Forum

Support forum for Schneider Electric SCADA systems, radios and RTUs. From commissioning integration devices and software, to enhancing existing installations or troubleshooting.​

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Communities
  • Remote Operations
  • Remote Operations Forum
  • How to disable Mimic buttons using user group id of the user logged
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we?ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Joel_Weder
Commander Joel_Weder Commander
33
BevanWeiss
Spock BevanWeiss
19
sbeadle
Janeway sbeadle Janeway
15
MartinChartrand
Captain MartinChartrand Captain
15
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Remote Operations Forum
VALEVISCO
Crewman VALEVISCO
Crewman

Posted: ‎2022-03-18 09:34 AM

0 Likes
4
624
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-03-18 09:34 AM

How to disable Mimic buttons using user group id of the user logged

Hi, 

 

I need to disable objects, like buttons, using "PickDisabled" animation property, with an expression that call id UserGrup of the user logged in. 

 

I need to disable a button if user of a precise UserGroup is logged inside Geoscada.

 

Can someone write to me an example. I'm be able to disable button with USERNAME()='name of the user logged' but i need to do the same thing with Usergrop name or id. 

 

Thanks  a lot.

 

Valentino

 

 

Labels
  • Labels:
  • Mimics
  • SCADA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2022-03-18 09:40 PM

0 Likes
3
600
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-03-18 09:40 PM

User groups are primarily a way of assigning roles and permissions.

 

So you would really want to do this by using permissions instead.

This is doubly important because hiding a button is NOT a security control

If you're trying to stop someone from performing a control, hiding a button will not stop them. They can just go into the database tree, find the point and issue the control. Or they can use the SOAP interface and issue the control.

 

There are animations you can use based on whether someone has a certain permission (i.e. "CFG" etc), this combined with assigning appropriate permissions to the appropriate user groups would be the way to do this.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
VALEVISCO
Crewman VALEVISCO
Crewman

Posted: ‎2022-03-24 12:47 AM

In response to BevanWeiss
0 Likes
2
585
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-03-24 12:47 AM

Thank you BavanWeiss, You are right. 

 

I found a solution in crating a variable visible by a specified UserGroup. When you log in with a user that is not part of that UserGroup, he doesn't view that variable inside DB.

 

To disable a mimic object, for example a button, I use the EXIST('variable') function inside "PickDisable" animation property.

 

This is a good solution for me.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2022-03-27 03:42 PM

In response to VALEVISCO
0 Likes
1
505
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-03-27 03:42 PM

What does the button actually do though?

 

Normally the button will result in some change to the system, like it will issue a control to a field device, or perform a refresh of communications, or something like that.

Each of those actions would generally have a specific security configuration around it.

If your button is interacting with numerous objects (like two points and an outstation) then you would care about the security configuration of all three items... and perhaps the user should then have "CTL" (control) permissions and diagnostics or refresh or such on the outstation.

 

You would be much better off tying the security, and button visibility, back to the actual objects that the button interacts with, rather than just a generic unrelated object.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
sbeadle
Janeway sbeadle Janeway
Janeway

Posted: ‎2022-03-29 05:48 AM

In response to BevanWeiss
1 Like
0
475
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-03-29 05:48 AM

The 'right' approach is to animate the PickDisabled property of your button according to the action privilege on the controlled object.

For example, use the expression: 

NOT ".OBJECT_TO_BE_CONTROLLED.CheckAccess('CTL')"

By using the 'EXISTS' animation you just check the Read privilege ('RD'), which is probably not what you need.

 

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc