'Declaration
Public Overrides NotOverridable Function CreateUser( _ ByVal username As System.String, _ ByVal password As System.String, _ ByVal email As System.String, _ ByVal passwordQuestion As System.String, _ ByVal passwordAnswer As System.String, _ ByVal isApproved As System.Boolean, _ ByVal providerUserKey As System.Object, _ ByRef status As System.Web.Security.MembershipCreateStatus _ ) As System.Web.Security.MembershipUser
'Usage
Dim instance As VistaDBMembershipProvider Dim username As System.String Dim password As System.String Dim email As System.String Dim passwordQuestion As System.String Dim passwordAnswer As System.String Dim isApproved As System.Boolean Dim providerUserKey As System.Object Dim status As System.Web.Security.MembershipCreateStatus Dim value As System.Web.Security.MembershipUser value = instance.CreateUser(username, password, email, passwordQuestion, passwordAnswer, isApproved, providerUserKey, status)
public override System.Web.Security.MembershipUser CreateUser( System.string username, System.string password, System.string email, System.string passwordQuestion, System.string passwordAnswer, System.bool isApproved, System.object providerUserKey, out System.Web.Security.MembershipCreateStatus status )
Parameters
- username
- The user name for the new user.
- password
- The password for the new user.
- The email address for the new user.
- passwordQuestion
- The password question for the new user.
- passwordAnswer
- The password answer for the new user
- isApproved
- Whether or not the new user is approved to be validated.
- providerUserKey
- The unique identifier from the membership data source for the user.
- status
- A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.
Return Value
A System.Web.Security.MembershipUser object populated with the information for the newly created user.