Add profile data

S

shapper

Hi,

I am creating a new user using the following:

Membership.CreateUser(tbUsername.Text, tbPassword.Text, tbEmail.Text,
String.Empty, String.Empty, False, status)

Now I need to add profile data to this. Do I need to authenticate it
before I do so? Something like:

If Membership.ValidateUser(tbUsername.Text, tbPassword.Text) Then

FormsAuthentication.SetAuthCookie(tbUsername.Text, True)

...

I am not sure if this is the right approach.

Maybe I should just find a way to access the profile of the recently
created user and add values to it.

Thanks,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,271
Latest member
BuyAtenaLabsCBD

Latest Threads

Top