Help - Dynamic label for user name based on login data.
I've got an idea for the application i'm building but I am yet to find a solution for it, after trying and googling i'm now trying to reach out here.
So the application i'm building is used for the internal cafeteria in the company and the user will login by scanning their company card, choose the items they want to purchase and then confirm their purchase and is logged out. Quite straight forward.
The application is connected to a sharepoint list that holds user data. The data is card number (to verify on the login screen), users email and name. I could also mention that the application got two screens. One login and one where the users handle their purchase.
So what i want to do is to have the actual name of the user of who is logged in to the application right now on the screen where they handle their purchases. And the connection here is the card number. So based on the card number it should display the user name of that specific card.
Just to be clear aswell, they wont start the application from their own computer with their own microsoft account otherwise it would've been easier.