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