Timeline for Access denied when adding a user to a group RunWithElevatedPrivileges
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 5, 2012 at 8:17 | comment | added | Medes | I want to let you know that your answer was 50% right. because I need to use RunWithEvlevatedPrivileges earlier. I mean before creating SPSite instance which reprecent parent web. | |
Oct 4, 2012 at 15:04 | comment | added | Medes | thank you. about your first explanation, I am not trying to add users to a group of current.web but the spweb that I just created. so site.OpenWeb(SpContenxt.Current.Web.Id) returns the parent web. doesn't it? and the second solutin gave same error access denied. | |
Oct 4, 2012 at 14:42 | history | edited | Ali Jafer | CC BY-SA 3.0 |
added 118 characters in body
|
Oct 4, 2012 at 14:35 | history | answered | Ali Jafer | CC BY-SA 3.0 |