I am using aspnet Membership for user management,
but user is to be created using custom controls - not using createuserwizard control
but using login control and password recovery control
my problem: is it really possible, then how?
password and password answer is seen as encrypted in the databaae (I already created
aspnet_users,aspnet_membership etc tables using the aspnet_regsql utility)
when I using custom code to insert data into these tables how can I get UserId?
which algorithm is to be used to encrypt password
see my webconfig - relevent portion
<membership defaultProvider="SqlProvider">
<providers>
<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider,System.Web, Version=2.0.3600.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="connectionString" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="true" passwordFormat="Encrypted"
description="Stores and retrieves membership data from a Microsoft SQL Server database."/>
</providers>
</membership>
<machineKey validationKey= "88B4F4E68FF634B4DE1C0B4E31509B9C2F8AA1CA8990CDA6A8891842AA9CCFB56A6C25258181CEBFE1E9CDD192B502A899C0E0CC4C0A242AE2B81A11AC518D91"
decryptionKey= "B32E80A40DB95DC764304D86B9C948B95797EB9F41867B764196485F2174E641"
validation="SHA1" decryption="AES"/>