B
Bradley Plett
I'm building an application that uses Word. One of the first things
it does is create a new document based on a template that is stored on
a secure site (SharePoint, in this case). The problem I'm running
into is passing credentials on to the site.
Is it possible to pass the credentials along? If so, how? A little
extra information: the application runs as a Windows service, and has
no UI. So, the way I see it, I have two options: pass the
credentials of the account being used to run the service, or get the
credentials from a config file. I'd be happy if I could get either
one of those working. Thoughts?
Note: the statement that needs to send credentials looks like this in
VB:
Dim objWordDoc As Word.Document =
objWordApp.Documents.Add(Template:="http://my.private.site/My Template.dot"))
Thanks!
Brad.
it does is create a new document based on a template that is stored on
a secure site (SharePoint, in this case). The problem I'm running
into is passing credentials on to the site.
Is it possible to pass the credentials along? If so, how? A little
extra information: the application runs as a Windows service, and has
no UI. So, the way I see it, I have two options: pass the
credentials of the account being used to run the service, or get the
credentials from a config file. I'd be happy if I could get either
one of those working. Thoughts?
Note: the statement that needs to send credentials looks like this in
VB:
Dim objWordDoc As Word.Document =
objWordApp.Documents.Add(Template:="http://my.private.site/My Template.dot"))
Thanks!
Brad.