More information about PG2 & expression builder
thanks again for your answer about graphics enhancements on 800xA 5.1 FP4. However, could you give me more details about expressions (userfullname for example). Can I use it on visibility property of each button?
Thanks in advance
The username functions return plain strings while the rolefunction return a collection of strings which need to be processed.
I believe in theory that you could have a string comparison that return true or false as a method to light up a pushbutton, etc. - I have yet not tested it though.
Another approach would be (as injected by other) to give the user a key access permission and to check for the access permission. This would allow logover to be reflected in the check whereas string comparison of the user name will not detect a logover.
Overworking the problem could be to create a set of new Access Permissions (Admin Structure) and hand out these permissions on General Properties on the key objects. Then a "IsWriteAccessGranted()" could be used to tell if a particular user is behind the keyboard or not. Logging over to this user would also work. However, you need to craft custom permissions and add general properties.