cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

user manager

user manager

Sam888
New Poster

Hello sir,

I have one question about how tto switch user. I set up four user. A and B belong to "admin" group, they can read and write input filed. C and D belong to "OP" group, they only read input filed. I select user "A" or "B" or "C" or "D", then click "log out" button.  Actived user always 123. it's my default user when I create new project. Could you please help me to point out where my wrong setting? I upload my project as attached file.

Thanks.

3 REPLIES 3

webiq-sk
Frequent Contributor

You did not specify WHERE you're clicking on the button:
1. in WebIQ Designer's preview window
2. in a normal browser, e.g. using http://{IP OF YOUR CTRLX}:10124

In case one you'll always be logged in as the first user. That's intended, because otherwise you'd have to login whenever you open the preview window.

To test logout and login functionality you have to use a normal webbrowser - this cannot be tested inside WebIQ Designer directly.

Thanks for your help. After I use web browser, function can work normally.

I still have questions.

1. What main purpose for "user select" wedget? Because I can't select user, then switch to this user.

2. I create one input field, group "OP" still modify this input field, even I already set this group only can read in Groups  Access. I must to set "Lock condition" in input field wedget. May I know is it correct way? Why "Group Access" setting can't do it? 2023-01-31_14h30_48.png2023-01-31_14h30_01.png

webiq-sk
Frequent Contributor

Even though "user switching" might be a feature often used on legacy HMIs, WebIQ adheres to how it works on the web: you can login and logout, you cannot "switch" any user (just like you cannot "switch" a user on Facebook, Amazon etc. and have to logout and login again).
The User Select widget can only be used as part of the user management and needs to be connected to the User Controller widget for that. All User widgets work together to allow you to incorporate HMI user management directly into your HMI. 

The second question cannot be answered given the information provided. Please note the differences between frontend (browser) and backend (WebIQ Server) locking/access rights.

Using a lock condition in the HMI will lock the widget in the browser based on the condition.

Using access groups and setting up the corresponding access group for the specific item that is connected to the input field locks the item in the backend. Please see https://docs.webiq.de/docs/webiq-designer-manual/#user for more information on how these permissions work.

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist