Passing credentials from Word to a secure site?

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.
 
P

Perry

If you have the privileges:
What happens if you let the service run under the System Account?

If you don't have the privileges
Ask yr IT ops to let yr service run under System Account.

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top