Is there a way to get all of the existing principals in lua?