Re: Passing credentials from Word to SharePoint?

Tech-Archive recommends: Fix windows errors by optimizing your registry



P.S. The statement that needs to send credentials looks like this in
VB:
Dim objWordDoc As Word.Document =
objWordApp.Documents.Add(Template:=strTemplateName)

Brad.

On Mon, 18 Dec 2006 12:00:35 -0700, Bradley Plett
<plettb@xxxxxxxxxxxxxxxx> wrote:

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 SharePoint site. The problem I'm running into is passing
credentials on to the site. I haven't explored this very thoroughly,
but I think if the user has IE set to allow pass-through, then my
application works fine. However, if that is not the case, credentials
don't get passed, and there is no mechanism of getting those
credentials.

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?

Thanks!
Brad.
.



Relevant Pages

  • Windows Service connecting to Web Service
    ... The connection to the web service is HTTPS and it reads NTLM credentials into a CredentialCache from a configuration file. ... I have attempted to create a windows service to do the same, however, I continue to get a "Could not establish trust relationship with remote server" WebException. ... I have to keep the web service secure, (I have tried basic authentication also, since I'm already SSL, with the same results). ...
    (microsoft.public.dotnet.security)
  • Windows Service Credentials VB.NET
    ... I created a Windows Service with the function of watch some folders, ... The problem it's that the central server it's not in the domain, ... In the end of this copy I lose the credentials. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Windows Service Question
    ... that i wont know the credentials of another user because it will be run by ... service in place which that will pull the new version of the windows service ... > local system account and enter the credentials of the user you want your ... > information changes. ...
    (microsoft.public.dotnet.languages.vb)
  • Multi-Domain Authentication for Windows Services
    ... I've written a Windows Service in .NET that performs Administrative tasks on ... remote systems. ... The service runs under credentials that have domain admin ...
    (microsoft.public.dotnet.security)
  • Passing credentials from Word to SharePoint?
    ... it does is create a new document based on a template that is stored on ... a secure SharePoint site. ... However, if that is not the case, credentials ... the application runs as a Windows service, ...
    (microsoft.public.vsnet.vstools.office)