How do I get a list of the Login IP ranges specified in each profile of my org. The list that is obtained from the data loader from LoginIP obkect doesn't seem to give results for each profile.

2 Answers 2


I dont think this is possible using a SOQL query. But you can try using metadata API :


and go for ProfileLoginIpRange[]

Also here is a sample at GitHub that sets the IP ranges on profiles using metadata API if that helps you. https://gist.github.com/metadaddy-sfdc/1334017


This will not be possible through SOQL query.

  • 2
    can you qualify your answer please Pratik, this will provide assurance to the user.
    – Bartley
    Dec 5, 2014 at 10:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .