title: assign role to user at account creation asp.net
body: <p>I'm still a student and I'm learning C#. I have to make a little application in ASP.NET. The application has to use roles.</p>
  
  <p>So, I "linked" a MemberShip to my database (with the tool asp_regsql). Now I have all the asp tables so it's ok. I created 2 roles (Admin &amp; Client) with the ASP configuration tools.</p>
  
  <p>My question is : </p>
  
  <p>Is it possible to create a page (like Register.aspx) and in this page to pass a hide parameter to set the user role at the registration ? </p>
  
  <p>For example, I would have a page RegisterClient.aspx and when an user create an account on this page, the account is automaticaly associated to the Client role.</p>
  
  <p>Is-it possible or have I to do this by myself with the ASP configurator ?</p>
  
  <p>Thanks for your help !</p>