Assuming that you sign in PowerApps with a WorkMail, in your dept. but you have few users, and you wish to control who use the apps, access right, etc.
Though this may not be a good idea due to data security, but it is a way of designing control right.
Here I wish to share on how to create:
- UserName
- UserID
so as to control who can actually use / access the apps, especially navigation to those Screens confidential to particular users.
Meantime, you may also Save the UserName to trace the last sign in user.
[In this case, I manually create one and show at the bottom of the age]
Dropdown. Items
= Distinct(Passkey, UserName)
So, please set the Visible of the TextBox to:
TextBox.Visible
= If(LookUp(Passkey, UserName = DDUserName.Selected.Result).UserID = TextUserID.Text, true, false)
The formula above says:
Hope this simple formula will hlep to create PassKey by modifying my sample here.
Below Screenshots are the actual apps I have modified to use Number Key to suit today's trend. Just sharing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.