Share the knowledge!
Hi
How to get Ip-address and System name of the current user logged in the list when a new item is adding ?
I have tried using EventRecievers I am getting error
Can anyone tell me how to get this ???
Thanks
Harish
I think the only information you'd be able to get is what you can extract out of the HTTP Request object as thats the only item that would carry any information about the requesting client.
Take a look at HTTPContext.Request.UserHostAddress and HTTPContext.Request.UserHostName.
You'll only be able to access that in a Synchronous Event Handler, i.e. Item Updating
Paul.
Hi Paul
Thanks for the reply
In the C# application how to get the HttpContent Object
Can you please expalin me ?
I have tried I am getting the ServerName not the Client Name who has accessed the url.