0

Can someone let us know how to import login ip ranges in salesforce using data loader?

Thanks, Pankaj

1 Answer 1

1

The login IP ranges are part of metadata and not data, hence cannot be imported by data loader which is used for data migration. To deploy login IP ranges by metadata api, deploy the corresponding part of profile.

<loginIpRanges>
    <endAddress>255.255.255.255</endAddress>
    <startAddress>0.0.0.0</startAddress>
</loginIpRanges>

The above snippet is a part of the profile metadata. Migrating this in the profile to the target org will add this IP ranges to trusted IP ranges for the given profile in the target org. Hope this helps. Also please see a previous entry regarding the same in SFSE - Is there any way to deploy login IP ranges for the profiles?

Thanks

2
  • Thank you for the reply. By searching over a web, I found that there would be a object named as LoginIpRanges in salesforce through which we can import IP ranges for profiles by means of data loader. But, we are not able to see this object in data loader. Is it something that have been deprecated by salesforce? Commented Jan 28, 2016 at 19:46
  • @PankajGanwani There is no standard object called 'LoginInRanges'. But there is a standard object named 'LoginIp'. Please see - developer.salesforce.com/docs/atlas.en-us.api.meta/api/… . But this object does not support create() call hence again don't think it is possible to create records of this object by data loader. Thanks
    – Prajith
    Commented Jan 29, 2016 at 4:44

You must log in to answer this question.

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