4

Actually I am not sure how you connect, by which User. You do not connect to core service with that piece of code you pasted. You connect to core service by providing Username and Password during the instantiation of the client. Once you are connected, you can Impersonate to another user (in this case you are trying to Impersonate to MTSUser) where System ...


3

You do not want just anyone to be able to impersonate any other user. So to use the Impersonate method, you will have to specifically add the current user as an "impersonation user" (within the Content Manager configuration) -- meaning that user is allowed to impersonate anyone else. You should only ever do that with 'system' accounts that you use to run ...


Only top voted, non community-wiki answers of a minimum length are eligible