Re: How to accomplish this goal?

Tech-Archive recommends: Speed Up your PC by fixing your registry



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



.



Relevant Pages

  • Re: How to accomplish this goal?
    ... You could use custom Dataform/Dataview webparts through SPD to create ... Although it is not truly security (i.e. if they know the URL they ... I found the event handler did NOT work for the specific group ... Only work for the group users who have access on list b. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: How to accomplish this goal?
    ... the user interface. ... Although it is not truly security (i.e. if they know the URL they ... I found the event handler did NOT work for the specific group ... Only work for the group users who have access on list b. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: How to accomplish this goal?
    ... We would like to add a custom list in Sharepoint site. ... I found the event handler did NOT work for the specific group ... Only work for the group users who have access on list b. ... There’s a nice blog article on it here: ...
    (microsoft.public.sharepoint.portalserver)
  • Re: How to accomplish this goal?
    ... peace of code that creates item in list B. ... an event handler on list a's itemadded event. ... I found the event handler did NOT work for the specific group ... Only work for the group users who have access on list b. ...
    (microsoft.public.sharepoint.portalserver)