Create user by code
Hi,
Does anyone know how to create a new user by code?
Using the default control works great but I need a solution using code...
something in vb.net not c#
Thanx
John
Re: Create user by code
Just call Membership.CreateUser().
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"John Devlon" <Johndevlon [at] hotmail.com> wrote in message
news:kVSLj.6181$VC1.2898 [at] newsfe10.ams2...
> Hi,
>
> Does anyone know how to create a new user by code?
>
> Using the default control works great but I need a solution using code...
> something in vb.net not c#
>
> Thanx
>
> John
>
Re: Create user by code
Hi Jonathan,
Thanx, it works great.... your the best...
Do you know by any chance how to get the UserID from the user that has been
added ?
Thanx
John
"Jonathan Wood" <jwood [at] softcircuits.com> schreef in bericht
news:%23UGBhMEnIHA.3512 [at] TK2MSFTNGP03.phx.gbl...
> Just call Membership.CreateUser().
>
> --
> Jonathan Wood
> SoftCircuits Programming
> http://www.softcircuits.com
>
> "John Devlon" <Johndevlon [at] hotmail.com> wrote in message
> news:kVSLj.6181$VC1.2898 [at] newsfe10.ams2...
>> Hi,
>>
>> Does anyone know how to create a new user by code?
>>
>> Using the default control works great but I need a solution using code...
>> something in vb.net not c#
>>
>> Thanx
>>
>> John
>>
>