Fetch what's in a player's inventory

I have a concept for a little TopBarPlus menu where a player can switch between faces that they own on the fly. The only problem with this is that I don’t know how to get the faces from a player’s inventory. Other than that, I already know how to do the coding. I just need to know how to see what faces a player owns!