The field in which you're looking for is the CMS_UserSettings.UserAvatarID (int) It stores the primary key value from the CMS_Avatar table. You'd need to get the CMS_Avatar.AvatarGUID based on that UserAvatarID to be able to use the GetAvatar() handler.