title: Getting all ids and usernames from membership Asp Net MVC
body: <p>I have no doubt on how to retrieve membership id from 1 single user:</p>
  
  <pre><code>currentUser = Membership.GetUser(); 
  Guid currentUserId = (Guid)currentUser.ProviderUserKey;
  </code></pre>
  
  <p>but I can´t find a way to retrieve all users id and usernames.</p>
  
  <p>I tried this way:</p>
  
  <pre><code>MembershipUserCollection AllUsers;
  AllUsers = GetAllUsers();
  </code></pre>
  
  <p>From that point I can´t find a way to retrieve Ids and Usernames from AllUsers.
  Could I get some help from here?</p>