diff options
author | jrags <> | 2006-09-19 03:04:28 +0000 |
---|---|---|
committer | jrags <> | 2006-09-19 03:04:28 +0000 |
commit | 2c8fcb129c45faecd1a480c44f8a1708f768b91d (patch) | |
tree | 43c0ad8bb4c8f669ef242f278de9ffa12d20b93c /framework/Web/Security/TMembershipCreateStatus.php | |
parent | b767e82ec7bb04e747961e7ecee0e288fde719f0 (diff) |
Inital Checkin of new membership and role providers. Currently still in development
Diffstat (limited to 'framework/Web/Security/TMembershipCreateStatus.php')
-rw-r--r-- | framework/Web/Security/TMembershipCreateStatus.php | 39 |
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 |