How get the Avatar/Profile picture

Hi Everyone.
I’m trying to get the Avatar/Profile picture from the user and I found a FUserInfoCommon::QueryUserAvatar() on the Online Services, but I can’t use it, the function wasn’t recognized when I try to build, I already added the Module and the Include.
Does anyone have an idea on how can I use it or any other way to get the Avatar/Profile picture from the user?