We are developping a webservice framework (CWS with java) providing access to Content Server content from different applications for several users with update capabilities (adding documents or folders). On the other side, the same users can access directly to the product through a browser with read only permissions .
As the same user should act as having different CS permissions depending on access way even they really have read only permissions inside Content Server, we thought ImpersonateUser method could help us.
We would impersonate a CS user by another one having SA privileges and enough rights to be able of adding folders/documents. Would it be possible to achieve our goal through this method? (first doubt)
And second doubt, if yes, how will standard CS audit logs reflect activity from framework? Which user will be recorded?