Hi Everyone,
Please help me if possible.
My App has a personalized Login Screen, connected to a Sharepoint List where I have columns such as (UserID, UserName, Password, Leve-ID) thes list name is ( Login-Pintura ). Currently I'm using this code in the Login Screen Button:
If(!IsBlank(LookUp('Login-Painting', Title='LoginInput-Text'.Text And Password='PasswordInput-Text'.Text).Title),Navigate(HomeScreenMenu,ScreenTransition.Fade),UpdateContext({ShowForgotMessage:true}))
In the same App, there is task control with several functions which I Patch information to another Sharepoint List named (BDPinturaProjeto), currently I'm using this code to Patch:
Patch(BDPinturaProjeto,ThisItem, {ScannedBDPintura:Right(ScannerResultEngine.Text,6), UserBDPintura: User().FullName, DateBDPintura: Now(), StatusPaintBDPintura:PaintStatusYes.Text});Reset(ScannerResultEngine);Reset('ScanToFind-Engine');Set(varsingleScan1, "");Set(varsingleScan2, "")
How could I patch CurrentUser using my personalized login screen?