# Dashboard user login

**URL:** <https://discourse.nodered.org/t/dashboard-user-login/78732>\
**Category:** Dashboard\
**Created:** [27 May 2023 10:47 UTC](https://discourse.nodered.org/t/dashboard-user-login/78732 "2023-05-27T10:47:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MecatronicaMADE](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MecatronicaMADE](https://discourse.nodered.org/u/MecatronicaMADE)\
**Post date:** [27 May 2023 21:59 UTC](https://discourse.nodered.org/t/dashboard-user-login/78732/2 "2023-05-27T21:59:58Z")

</div>

I think it is possible, you need to work with **ui\_control** node, and develop you basic logic, for each user/password, for example:

if ( user/password == "user1/password1") then  
show "x" group  
hide "y" group  
if ( user/password == "user2/password2") then  
show "y" group  
hide "x" group

For basic flow example that you could use to work with user/pass: [Node-RED-Dashboard : Log-In, Session Management](https://github.com/phyunsj/node-red-dashboard-login)  
For example to use ui\_control node: [Using the Control UI Node With Flow Example](https://stevesnoderedguide.com/using-control-ui-node-flow-example)

I hope it can helps you!!

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-user-login/78732)._
