Home / FactoryTalk Optix / Security
Description
Learn how to manage User access rights to different Navigation Panel items on your SCADA system in FactoryTalk Optix. Using Netlogic in C# to enable and disable Panels depending on the logged User Group.
Download the code here:
https://github.com/xavierflorensa/FTOptix_user_management_panels
Contributed by Xavier Florensa – YouTube – LinkedIn – GitHub
Transcript
(00:01) hi everybody in this video I will show you how to use Factory talk Optics to manage user Management in order to block uh user access to different panel on a navigation panel here for instance we have a loog user with name chavier with which belongs to group denition who has right to enter to this trend panel to this database panel but not to the PLC but if we perform a log out first you have to realize that now if no user is logged in uh there’s no use no access to any of the panels as soon I change of user and I log in
(01:01) the jur is administrator for instance now he has access to the PLC panel but not to the trend he can access the database and once again as soon as you log out no one will have access to the panels okay of course you can use the password to Grant security for the users and and let’s see how this is done first of all uh you have a navigation panel like this one we also have a users collection with some groups each user belonging to some group like like you can organize this way each user to each group okay then on the other
(02:03) hand uh we will do all this management with the login form and the button once you hit this button there’s a method you can use that it’s called perform login this method is inside of this login button logic that you can find here on your login form object that you can find on the libraries drag and drop here and once you go to the logic button logic you click here you will find the logic button logic script uh that is a standard made from Dr automation but you can modify uh the way you want if you add from Custom Behavior to know which user
(03:09) is loged which group belongs this user to and then as soon as you get access to the navigation panel this way then you can access the properties of the panel like for example you can find variables for each panel for the LA the navigation panel PC panel Trend panel database and if the group of the log new user is technician then you can enable and disable different panels if the user is administrator you can enable disable panels and you can also grant that the navigation panel will be enabled okay and this is all I hope you enjoy it thank you very
(04:16) much you can find the code on GitHub on the comments on the video thank you very much
Tutorial List
