Loading...

RE: How do I use user impersonation so the New Item List Form submits as a system account?

RE: How do I use user impersonation so the New Item List Form submits as a system account?

Home Forums QuickApps Forum How do I use user impersonation so the New Item List Form submits as a system account? RE: How do I use user impersonation so the New Item List Form submits as a system account?

#7423
Anonymous
Anonymous
Participant

Hi Ben,

n

I don’t understand your question very well, could you please give me an example? You want to use qListForm for the regular user to create the items, but just admins can see this items? I think you can create a filed in the list, and this field will be configured as a hidden and fix value(something like the admins name, but make sure to check the ‘Use People Editor’ option if the field type is People and Group field) in the qListForm. Then use this field as a key, and set it into CAML filter in qListView(something like use the FIELD = ‘[ME]’ ).

n

But one thing I can tell you is qListForm cannot open as a system account, and it cannot use alternate credentials to create the list items either. It creates the item base on the current log on user. if you can provide your business scenario, maybe I can give you a solution to achieve that.

n

 

n

 

n