I am trying to develop a Web Service that uses LAPI to add documents from a Desktop application into Livelink. The desktop application will be run as a user logged onto a PC authenticated to a domain. The Web service will be setup to use integrated security so that it runs in the context of the user.
However I have been unable to connect to LAPI from the Web Service as the user running the desktop application. Each connection made connects as the user running the Application Pool the Web Service is configured to use.
For example, Joe has the appropriate permissions to connect and add documents to Livelink whilst Fred does not have permissions to connect to Livelink. Joe is running the application on his desktop and the Application Pool used by the Web Service is running as Fred. Each time the desktop application calls the Web Service to add a document for Joe the Web Service cannot connect to LAPI as it attempts to make the connection for Fred (Access Denied error). Therefore Joe cannot add any documents to Livelink.
Is there any way to connect to Livelink in the Web Service via LAPI as Joe so that the document can be added to Livelink? At the point of connection within the Web Service I know Joe's user account name but not his password.