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.


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

| improve this answer | |

This will not be possible through SOQL query.

| improve this answer | |
  • 1
    can you qualify your answer please Pratik, this will provide assurance to the user. – Bart Dec 5 '14 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.