Hi All
Please suggest me
How to Get the Current Logged user location ID in SharePoint online
Thanks
Deepak Chauhan
Thanks Imen
I have already use this example but my requirement is how we can get the SharePoint online current login user location id ..
Thanks
Deepak Chauhan
Hi Deepak,Â
You can try geolocalisation using javascript . It show you the Latitude: and the Longitude of your position.
see this :http://www.w3schools.com/html/html5_geolocation.aspÂ
You just need to convert what I wrote from CSOM to JSOM. They are fairly analogous.
Thanks PaulÂ
can you please tell me how we get the Current Login User Location ID through java script
Thanks
Deepak Chauhan
SPContext.Current.Web.CurrentUser.RegionalSettings.LocaleID
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spuser.regionalsettings.aspx
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spregionalsettings.localeid.aspx