Scripting Aspect - Function to know current user Permission
Currently using below script to know the User Role for log on user. This works well.
Similar code is needed to know if log on user has specific Permission (Eg. Tune, Force, or any custom Permission).
set m_user = me.CurrentUser
IsUserLogon= m_user.IsInRole("Application Engineer Role")
Answer this question Follow
A role is global per user session.
A permission is local per object.
Maybe it possible to probe the #IsWritable and #IsReadable OPC DA sub properties?
E.g the Alarm Global Properties exist on every object in a system and eg. require Operate permission to write to the IsAlarmUnacknowleded property (used to acknowledge alarms)
Other questions needing answers
Application Knowledge Store (AKS) will no longer be available after the 31 July 2021.
We are enhancing our Customer and Partner experience and will be migrating data from AKS to the new portal.
During the transition please direct your questions to:
If you are an ABB customer with a CARE Agreement you can access our Customer Portal, where you can find solutions and ask questions, and communicate directly with ABB.
If you are not an existing CARE customer with ABB please contact your local ABB sales office.
For our authorised Partners you can directly access additional support information in the Partner Portal