OneDrive用户模拟

问题描述:

我需要使用CSOM编写一些代码来访问用户的OneDrives。 

I need to write some code using CSOM which accesses user's OneDrives. 

我不知道用户的密码(很明显),是否有假冒过程在CSOM让我这样做?

I don't know the user's passwords (obviously), is there a process for impersonation in CSOM to let me do this?

Hi Pinky,

Hi Pinky,

请检查此帖子中的解决方案是否适合您:

Please check if the solution in this post work for you:

如何使用Sharepoint 2010中的客户端对象模型进行Clientcontext对象的模拟

How to do Impersonation of Clientcontext object using Client Object model in Sharepoint 2010

希望它对您有所帮助。

Hopefully it helps you.

最诚挚的问候,

Yuki