客户端开发添加sharepoint凭证

//1.promise
ClientContext context = new ClientContext(siteUrl);
NetworkCredential myCredential = new NetworkCredential(account, securepassWord,[domin]);
context.Credentials = myCredential;

//2.online
ClientContext context = new ClientContext(siteUrl);
context.Credentials = new SharePointOnlineCredentials(account,securepassWord);

 

上一篇:百度快排探究(一),Python selenium 实现自然搜索访问目标网站


下一篇:团队作业4——第一次项目冲刺(Alpha版本) Day7