title: Passing FormsAuthentication cookie to a WCF service
body: <p>I have a website that talks to a remote WCF web service. Both use the same custom FormsAuthentication Provider. I would like to authenticate with the WCF service impersonating the user currently logged in the site. I already did this manually, using UserName client credentials but I need to know the user password.
  So, what works so fart is this: an authenticated user makes a request, I create a Service Client and set his credentials:</p>
  
  <pre><code>serviceClient.ClientCredentials.UserName.UserName = username;
  serviceClient.ClientCredentials.UserName.Password = password;
  </code></pre>
  
  <p>But what I really want is to pass the FormsAuthentication cookie directly, because I don't want to store the user password.</p>
  
  <p>Any ideas?</p>