title: use sharepoint forms authentication users to login to remote sql server
body: <p>The Sharepoint setup I am dealing with is as follows:
  - forms-authentication sharepoint server - with the users database stored on a remote sql server
  - we have a custom asp .net application put on tip of sharepoint, that is being run from the __layouts_ folder; the application gets all its content from a remote sql server (nothing to do with WSS_Content)</p>
  
  <p>Basically, the user database is used only for permissions at the site level.
  But I need to use the same user credentials that have been used for logging in to the sharepoint web application when connecting to my remote sql server.</p>
  
  <p>Is there a way to pass current sharepoint user credentials as sql server authentication login?</p>