CMSMembershipProvider MembersKentico 8.0 API Reference
The CMSMembershipProvider type exposes the following members.
Constructors

  NameDescription
Public methodCMSMembershipProvider
Back to Top
Methods

  NameDescription
Public methodCreateUser
Creates new user.
(Overrides OnlineMembershipProvider CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus ).)
Protected methodOnlineDecryptPassword
Decrypts an encrypted password.
(Inherited from OnlineMembershipProvider.)
Public methodDeleteUser
Deletes user specified by username.
(Overrides OnlineMembershipProvider DeleteUser(String, Boolean).)
Protected methodOnlineEncryptPassword( Byte )
Encrypts a password.
(Inherited from OnlineMembershipProvider.)
Protected methodOnlineEncryptPassword( Byte , MembershipPasswordCompatibilityMode)
Encrypts the specified password using the specified password-compatibility mode.
(Inherited from OnlineMembershipProvider.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFindUsersByEmail
Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
(Overrides OnlineMembershipProvider FindUsersByEmail(String, Int32, Int32, Int32 ).)
Public methodFindUsersByName
Gets a collection of membership users where the user name contains the specified user name to match.
(Overrides OnlineMembershipProvider FindUsersByName(String, Int32, Int32, Int32 ).)
Public methodGetAllUsers
Gets a collection of all the users in DB.
(Overrides OnlineMembershipProvider GetAllUsers(Int32, Int32, Int32 ).)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetNumberOfUsersOnline
Returns number of online users. Monitor online users feature must be enabled.
(Overrides OnlineMembershipProvider GetNumberOfUsersOnline .)
Public methodGetPassword
Gets password of user specified by username.
(Overrides OnlineMembershipProvider GetPassword(String, String).)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUser(UserInfo)
Returns MembershipUser object containing data of user specified by his name.
Public methodGetUser(Object, Boolean)
Returns MembershipUser object containing data of user specified by providerUserKey.
(Overrides OnlineMembershipProvider GetUser(Object, Boolean).)
Public methodGetUser(String, Boolean)
Returns MembershipUser object containing data of user specified by his name.
(Overrides OnlineMembershipProvider GetUser(String, Boolean).)
Public methodGetUserNameByEmail
Gets user name of user with given email.
(Overrides OnlineMembershipProvider GetUserNameByEmail(String).)
Public methodChangePassword
Changes Password of user specified by username.
(Overrides OnlineMembershipProvider ChangePassword(String, String, String).)
Public methodChangePasswordQuestionAndAnswer
As password questions and answers are not implemented in UserInfo, this metod returns true.
(Overrides OnlineMembershipProvider ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public methodInitialize
Initializes the provider.
(Overrides OnlineProviderBase Initialize(String, NameValueCollection).)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodMFValidateCredentials
Checks if user can be authenticated.
Public methodMFValidatePasscode(String, String)
Validates entered passcode for user. Partial validation is checked. This method should be used when validating passcode in multi-step scenario.
Public methodMFValidatePasscode(UserInfo, String, Boolean)
Validates entered passcode for user. Checks passcode only.
Protected methodOnlineOnValidatingPassword
Raises the OnlineValidatingPassword event if an event handler has been defined.
(Inherited from OnlineMembershipProvider.)
Public methodResetPassword
Sets password of user specified by user name to empty string.
(Overrides OnlineMembershipProvider ResetPassword(String, String).)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUnlockUser
Sets 'Enabled' property of user specified by user name to 'True'.
(Overrides OnlineMembershipProvider UnlockUser(String).)
Public methodUpdateUser
Updates data of specified user.
(Overrides OnlineMembershipProvider UpdateUser(MembershipUser).)
Public methodValidateUser
Checks whether given password matches the password of user specified by username.
(Overrides OnlineMembershipProvider ValidateUser(String, String).)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyApplicationName
Applicaton name.
(Overrides OnlineMembershipProvider ApplicationName.)
Public propertyDescription
Description.
(Overrides OnlineProviderBase Description.)
Public propertyEnablePasswordReset
Enable password reset.
(Overrides OnlineMembershipProvider EnablePasswordReset.)
Public propertyEnablePasswordRetrieval
Enable password retrieval.
(Overrides OnlineMembershipProvider EnablePasswordRetrieval.)
Public propertyMaxInvalidPasswordAttempts
Maximum invalid password attempts.
(Overrides OnlineMembershipProvider MaxInvalidPasswordAttempts.)
Public propertyMinRequiredNonAlphanumericCharacters
Minimum required nonalphanumeric characters.
(Overrides OnlineMembershipProvider MinRequiredNonAlphanumericCharacters.)
Public propertyMinRequiredPasswordLength
Minimum required password length.
(Overrides OnlineMembershipProvider MinRequiredPasswordLength.)
Public propertyName
Name.
(Overrides OnlineProviderBase Name.)
Public propertyPasswordAttemptWindow
Password attempt window.
(Overrides OnlineMembershipProvider PasswordAttemptWindow.)
Public propertyPasswordFormat
Password format.
(Overrides OnlineMembershipProvider PasswordFormat.)
Public propertyPasswordStrengthRegularExpression
Password strength regular expression.
(Overrides OnlineMembershipProvider PasswordStrengthRegularExpression.)
Public propertyRequiresQuestionAndAnswer
Required question and aswer.
(Overrides OnlineMembershipProvider RequiresQuestionAndAnswer.)
Public propertyRequiresUniqueEmail
Requires unique email.
(Overrides OnlineMembershipProvider RequiresUniqueEmail.)
Back to Top
Events

  NameDescription
Public eventOnlineValidatingPassword
Occurs when a user is created, a password is changed, or a password is reset.
(Inherited from OnlineMembershipProvider.)
Back to Top
See Also