Re: How to accomplish this goal?
- From: Alan <Alan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 May 2008 00:45:00 -0700
Thank you very much.
"Claudio B." wrote:
Hi,.
you can use SPSecurity.RunWithElevatedPrivileges method to run the
peace of code that creates item in list B.
The problem is that the "created by" field is "system account" and not
the current user.
Claudio
On 29 Apr, 04:09, Alan <A...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi guys,
We would like to add a custom list in Sharepoint site. And only let a
specific group users add item, but can not view those items.
I've tried the approach below.
Create 2 lists(list a and list b) with same columns. give the specific group
users contribute permission on list a, but no access on list b. And develop
an event handler on list a's itemadded event. When one item was added in list
a, copy it to list b then delete it from list a.
Unfortunately, I found the event handler did NOT work for the specific group
users. Only work for the group users who have access on list b.
Do you have any good ideas?
Br,
Alan
- Prev by Date: MOSS 2007 & Exchange 2007 OWA webpart
- Next by Date: SharePoint Training
- Previous by thread: MOSS 2007 & Exchange 2007 OWA webpart
- Next by thread: SharePoint Training
- Index(es):
Relevant Pages
|