Hi . I have a question that sounds like complicated.
Let me explain.
First off, I have created a login page in power apps which contains username and password (That's page 1 in that application)
Secondly, The username and password is saved in a SharePoint list which is used to authenticate username and password.
So after the user logins , it will navigate to second page. and in second page, i want that user name to be displayed in top right corner.
In power apps, i have wrote a code to display user details
let me show the code below
--------------------------------------------------------------------------------------------------------------------
If( !IsBlank( LookUp( logindatabase, Title = Usernametxt.Text && Password = Passwordtxt.Text ).Password ), Navigate(Content_Generation),Reset(Usernametxt);Reset(Passwordtxt));
Set(varUserRecord, {});
Set(varUserRecord, LookUp(logindatabase, Title=Usernametxt.Text && Password=Passwordtxt.Text));
If(IsBlank(varUserRecord.ID),
Notify("Invalid username or password", NotificationType.Error, 3000),
Notify("Successful Login", NotificationType.Success, 3000);Navigate(Content_Generation, None)
)
--------------------------------------------------------------------------------------------------------------
So in next page, whenever user logins , i can display their name in top right corner
"Welcome User " & varUserRecord.Title & "!"
----------------------------------------------------------------------------------------------------------------
Is it possible to do the same in power automate?
also, using power automate, i have to save the username in sharepoint, who has logged in.
so how to do this process?
pls guide me in detail how to do that.


Report
All responses (
Answers (