title: Getting the ID of the current logged in user in ASP.net
body: <p>how can i get the id of the current logged in user?
   I search and got this code :</p>
  
  <pre><code>Membership.GetUser(HttpContext.Current.User.Identity.Name).ProviderUserKey.ToString()
  </code></pre>
  
  <p>but it only gets the name of the current user, what I want to get is the ID of the current user, thanks. </p>