I have to get current logged in user in provider hosted app remote event receiver.
currentUser = clientContext.Web.CurrentUser; clientContext.Load(currentUser, x => x.LoginName, y => y.Id); clientContext.Load(currentUser, Z => Z.Title); clientContext.ExecuteQuery();
How to get the current logged in user?