What I need to do seems simple to me: Take a file from a Document Library in SharePoint (MOSS 2007 V 3.0) and store it on a Network File Share. The problem is, I cannot give the SharePoint worker process permissions to the share, nor can
I use Kerberos delegation. Also, my SharePoint implementation is on one domain, and the file share is on another domain, which has a 1-way trust between them.
I'm trying to use the following code, as I've found all over the internet. However, there seems to be some conflict between using a 32 bit dll inside 64 bit code. My question is two-fold: (1) Is there a better way I should be accomplishing
my goal? and (2) if Impersonation is indeed the answer, is there any way to get some form of impersonation working on an x64 system?
Thanks in advance for any advice, code samples, etc that can be provided.
FileArchivalViewerWP : Microsoft.SharePoint.WebPartPages.WebPart
SetLastError = true)]
lpszUsername, String lpszDomain,
CharSet = CharSet.Auto)]
View Complete Post