Retrieve username from LoginPage

1
Hi, Does anyone know how can I get the username that just logged in? Is there any sample implementation shared here?
asked
1 answers
3

Use a microflow and set a string variable to $currentUser/Name - that will give you the login name

Alternatively, do a retrieve action (first object only) from the Account object where [id = $currentUser]. You can then use $Account/Fullname or $Account/Firstname, etc. if you want that instead of the login name

answered