asp.net.ph

MembershipCreateStatus Enumeration

System.Web.Security Namespace


.NET Framework version 2.0

Describes the result of a CreateUser operation.

Members


Member Description
DuplicateEmail The e-mail address already exists in the database for the application.
DuplicateProviderUserKey The provider user key already exists in the database for the application.
DuplicateUserName The user name already exists in the database for the application.
InvalidAnswer The password answer is not formatted correctly.
InvalidEmail The e-mail address is not formatted correctly.
InvalidPassword The password is not formatted correctly.
InvalidProviderUserKey The provider user key is of an invalid type or format.
InvalidQuestion The password question is not formatted correctly.
InvalidUserName The user name was not found in the database.
ProviderError The provider returned an error that is not described by other MembershipCreateStatus enumeration values.
Success The user was successfully created.
UserRejected The user was not created, for a reason defined by the provider.

Remarks

The MembershipCreateStatus enumeration indicates the success or failure of an attempt to create a new user. If the CreateUser operation fails, the MembershipCreateStatus enumeration describes the cause of the failure.

If you use a CreateUser method overload that does not specify an output parameter of type MembershipCreateStatus, an unsuccessful attempt to create a new user throws a MembershipCreateUserException with the StatusCode property set to one of the MembershipCreateStatus enumeration values.

See Also

Membership Class   MembershipProvider Class   MembershipUser Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph