title: Authenticate with SharePoint's authenticate.asxm web service
body: <p>I am trying to authenticate with the sharepoint authenticate web service in an account I have.
  I get an error saying NotInFormsAuthenticationMode.</p>
  
  <p>How do I change it from forms to none or windows?</p>
  
  <p>I tried with:
              myReference.Authentication auth = new myReference.Authentication();
              myReference.AuthenticationMode = myReference.AuthenticationMode.None;</p>
  
  <p>but it says myReference.AuthenticationMode is a type. which is not valid in the given context.</p>
  
  <p>Suggestions?</p>
  
  <p>Any help is appreciated.</p>