To recover user logged in non-application with menu

Good night people.
I would like to know if it is possible to pass parameters to the ionic app.ts.
I am not able to recover the logged-in user when he clicks the menu.
Thank you.

Generally one stores this sort of information in a service provider which is injected when needed.

Do you have any examples?