function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
k sfdck sfdc 

Using APEX how to get System MAC IP Address?

Arunkumar RArunkumar R

Hi ,

Use the below one,

String myIPAddress = ApexPages.currentPage().getHeaders().get('X-Salesforce-SIP');

k sfdck sfdc
Hi Arunkumar,
                             I want in My system location like control panel->Network and sharing center ->LAN Connection ->Details location MAC ADDRESS.

Using apex how to get this ipaddress?

 how to restrict individual users login with same ipaddress and same username and password?

help me...........