开发者

Sharepoint 2007 Userlist custom property

开发者 https://www.devze.com 2022-12-09 16:14 出处:网络
I have a custom event handler on a wiki page, which should add a Tag to a custom colo开发者_JS百科umn which I attached to the Users List.

I have a custom event handler on a wiki page, which should add a Tag to a custom colo开发者_JS百科umn 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


You can use SPSecurity.RunWithElevatedPrivileges, check this out: Elegant SPSite Elevation

0

精彩评论

暂无评论...
验证码 换一张
取 消