I need to write an application to update a list on a SharePoint 2010 site.
I found the "SPSite" which I can create with the URL, but I can't figure out how to specify with which user I want to connect.
The user isn't the current windows user, and the program isn't executed on the server.
I saw the possibility to give a "SPUserToken", but in my method I only have the user, the domain, and his password, so how can I generate this user(and I think that this user is unknown on the system executing the code, but known on the server).
Where can I specify that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…