Retrieving the current user from your database that is logged in

My target is Retrieving the current username from my personal database that is logged in.so  anyone help me

Hi,

you can sipmple use 

SyntaxEditor Code Snippet

GetUser(GetUserId()).User.Username

Regards

Rahul Sahu

Rahul Sahu wrote:

Hi,

you can sipmple use 

SyntaxEditor Code Snippet

GetUser(GetUserId()).User.Username

Regards

Rahul Sahu


Hello Rahul,

I want username from my own database.

Example- I just login for my application. then in username section "Pratiksha" username display

Hi Pratiksha,

In traditional web applications, you can also access that information from Session.Username.

Regards,

Daniel

Solution

Hi Pratiksha,


When you create application using OutsystemUi here is a default section of Login info

you can show username instead of Name.(Tradtional web and Reactive)


Regards

Rahul Sahu

Solution