Steam session ticket

Hey,

I need a steam session ticket but it seems its not accessable through bp’s.
On the steam side there is written i need this function:

SteamUser()->GetAuthSessionTicket()

Which library do i need to include for “SteamUser()” ?
Is the PlayerController.cpp the right place to run the code?

Thanks!