When Working With Anonymouse You Some Proplems in Permission The RunWithElevatedPrivileges Method Allow You to Executes a specified Code or method with Full Control rights even if the user does not otherwise have Full Control
SPSecurity.RunWithElevatedPrivileges(delegate()
{
//You Must Create SPSite Object and SPWeb Object Here
// Add Your Code Here Like Add Item to SharePoint List
});
thanks Wa2el :)
ReplyDeleteQassem
urw Qassem :)
ReplyDelete