Timeline for SPContext.Current is null while calling SPContext.Current.Web.EnsureUser() method
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 18, 2017 at 9:04 | comment | added | Evariste | Not enough: you mean a list event reveiver, right? This can be triggered in a Web context (item udpated from the UI) or not (item updated from a workflow, from PowerShell, from a job...). Please, read my answer below, as I already explained this. | |
| Sep 18, 2017 at 8:42 | comment | added | raju | Code is being called from ItemUpdated event | |
| Sep 18, 2017 at 7:03 | comment | added | Evariste | What's the context? A Web part, a job, a PowerShell command, ...? That's our question! | |
| Sep 18, 2017 at 6:16 | comment | added | raju | I'm trying to fetch users [author, editor) at item level using SPContext.Current.Web.EnsureUser() | |
| Sep 18, 2017 at 5:38 | comment | added | Evariste | What's the context of your code? Web part? Event receiver?... | |
| Sep 18, 2017 at 5:34 | answer | added | Evariste | timeline score: 1 | |
| Sep 18, 2017 at 5:30 | history | edited | Evariste | CC BY-SA 3.0 | added 68 characters in body |
| Sep 18, 2017 at 5:29 | answer | added | rafter13 | timeline score: 0 | |
| Sep 18, 2017 at 5:22 | history | asked | raju | CC BY-SA 3.0 |