The help docs are your friend:
The variable "portalUser" contains the "userName" property. You can examine all the properties by opening up the developer tools in your browser and put a breakpoint at line 118.
Bit confused here and want to make sure we are on the same page.
That is what the line of code and like I provided are for.
Retrieving data ...