The Profile class represents one or more account related profiles.
Hex.Profile(iProfileId) returns a new object of type Profile.
local p = Hex.Profile(-1)
local b = true
-- Iterate through the profiles
while b == true do
print("Profile name="..p:GetProfileName())
b = p:Next()
end
1.5.4