The PersonId field of int data type in the PortalPerson table is used to store a unique identifier for each person in the database. This identifier helps to quickly identify a particular person within the database by providing a way to link other data to a particular person record.