summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TMembershipCreateStatus.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Security/TMembershipCreateStatus.php')
-rw-r--r--framework/Web/Security/TMembershipCreateStatus.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/framework/Web/Security/TMembershipCreateStatus.php b/framework/Web/Security/TMembershipCreateStatus.php
new file mode 100644
index 00000000..78b64de4
--- /dev/null
+++ b/framework/Web/Security/TMembershipCreateStatus.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * TMembershipCreateStatus class.
+ * Describes the result of a CreateUser operation.
+ *
+ * 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.
+ *
+ * @author Jason Ragsdale <jrags@jasrags.net>
+ * @version $Id: TMembershipCreateStatus.php 1398 2006-09-08 19:31:03Z xue $
+ * @package System.Web.Security
+ * @since 3.1
+ */
+class TMembershipCreateStatus extends TEnumerable
+{
+ const DuplicateEmail='DuplicateEmail';
+ const DuplicateProviderUserKey='DuplicateProviderUserKey';
+ const DuplicateUserName='DuplicateUserName';
+ const InvalidAnswer='InvalidAnswer';
+ const InvalidEmail='InvalidEmail';
+ const InvalidPassword='InvalidPassword';
+ const InvalidProviderUserKey='InvalidProviderUserKey';
+ const InvalidQuestion='InvalidQuestion';
+ const InvalidUserName='InvalidUserName';
+ const ProviderError='ProviderError';
+ const Success='Success';
+ const UserRejected='UserRejected';
+}
+?> \ No newline at end of file