c# - How to pass user credentials to sharepoint using SP Object Model instead of web service while uploading file -


i want upload files in document library of sharepoint site (wss 3.0) using c#, problem want allow authorized users upload file. don't know how pass user credentials using sharepoint object model. there way user credentials user i.e username, password , upload file using these credentials. asking because if use elevated prevelages don't know uploaded file because file uploaded system account.

normally whenever upload file sharepoint library done using current logged in user context if user has not got sufficient rights not able upload file , exception same in code


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -