Hi there,
I've come upon a rather strange error when I attempt to impersonate a user and add content to their personal workspace. The odd thing is that when I'm running my app as Admin, and impersonate a user, I can only access that user's personal WS if that user has system admin rights.
My code block is as follows:
string rootElem = "{some user login name}";string userAuth = AuthClient.ImpersonateUser(ref otAuthToken, rootElem);log(String.Format("DEBUG Impersonating user '{0}' using token string '{1}'", rootElem, userAuth));otAuthToken.AuthenticationToken = userAuth;Node parent = DocManClient.GetRootNode(ref otAuthToken, "PersonalWS"); I guess I have two questions: 1) can anyone else repeat this problem,and 2) am I doing something obviously wrong?
Thanks in advance
-Hugh