Reputation: 315
I have a custom event handler on a wiki page, which should add a Tag to a custom coloumn which I attached to the Users List.
The problem is how can I obtain a reference to the List in a event.
It doesn't seem to be in the Profile
of the profile manager and accessing it with Spweb.Lists["Userinformationlist"]
gives me an error for non Admin Users.
Thanks for any advice
Upvotes: 0
Views: 160
Reputation: 57996
You can use SPSecurity.RunWithElevatedPrivileges
, check this out: Elegant SPSite Elevation
Upvotes: 1