Skip to main content
Participant
September 16, 2009
Question

Get Logged in user in Sharepoint from CF

  • September 16, 2009
  • 1 reply
  • 1090 views

Hello,

I have a little colfusion page that I view through a Page Viewer Webpart in Sharepoint. The only thing I want from sharepoint is the logged in user. I found bits of code to get that, but it's always from .NET, I don't know how to do the same thing with Coldfusion.

Any ideas?

Thanks,

    This topic has been closed for replies.

    1 reply

    tclaremont
    Inspiring
    September 16, 2009

    What does the following variable return?

    #cgi.auth_user#

    Participant
    September 16, 2009

    It returns an empty string.


    cgi.remote_user returns an empty string also.

    I'm running on CF7.

    tclaremont
    Inspiring
    September 16, 2009

    That is what I was afraid of.

    What web server are you using? Is this an intranet or is it a hosted website with a service provider?

    If IIS, are you using directory authentication?