Activity Forums Salesforce® Discussions How to get Ip Address of User in Apex in Salesforce?

  • Shweta

    Member
    June 30, 2020 at 1:54 pm

    we can use this,
    String ipAddress = ApexPages.currentPage().getHeaders().get('X-Salesforce-SIP');

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos