locked
Windows Authentication RRS feed

  • Question

  • If i am trying to test a sharepoint 2007 web site with windows authentication how do perform the test so that it passes through the authentication process?

     

    Many thanks

    Robert Conacher

    Wednesday, August 8, 2007 9:49 AM

Answers

  • Hi,

    did you try this way of sending credentials?

    Client.Credentials = new System.Net.NetworkCredential("username", "Password", "Domainname");

    Thanks,
    pkumar
    Friday, August 24, 2007 9:18 PM

All replies

  • Robert,

     

    Please see this How to: Set Credentials on a Web Test on MSDN:

    http://msdn2.microsoft.com/en-us/library/ms182548(VS.80).aspx

     

    Please reply back if that doesn't solve the problem.

     

    Syed Mehdi - MSFT

    Friday, August 10, 2007 4:58 PM
    Moderator
  • Syed Mehdi

     

    Sorry, unfortunately this did not. I set the credentials as Domain\User  and password, and this fails.

     

    Do you know of any other method. This is particularly important as we have to simulate numerous users, and i need to first i have to change user from the actively signed in user in the menu option, so that i can select a different user and then perform the test.

     

    many thanks

    Robert

    Friday, August 24, 2007 4:10 PM
  • Hi,

    did you try this way of sending credentials?

    Client.Credentials = new System.Net.NetworkCredential("username", "Password", "Domainname");

    Thanks,
    pkumar
    Friday, August 24, 2007 9:18 PM
  • Robert,

     

    Did this previous method work of setting System.Net.NetworkCredential work?

     

    Thursday, September 6, 2007 2:50 PM
    Moderator