Click or drag to resize
CMSMembershipProvider Methods

The CMSMembershipProvider type exposes the following members.

Methods
  NameDescription
Public methodChangePassword
Changes Password of user specified by username.
(Overrides MembershipProviderChangePassword(String, String, String).)
Public methodChangePasswordQuestionAndAnswer
As password questions and answers are not implemented in UserInfo, this metod returns true.
(Overrides MembershipProviderChangePasswordQuestionAndAnswer(String, String, String, String).)
Public methodCreateUser
Creates new user.
(Overrides MembershipProviderCreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).)
Public methodDeleteUser
Deletes user specified by username.
(Overrides MembershipProviderDeleteUser(String, Boolean).)
Public methodFindUsersByEmail
Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
(Overrides MembershipProviderFindUsersByEmail(String, Int32, Int32, Int32).)
Public methodFindUsersByName
Gets a collection of membership users where the user name contains the specified user name to match.
(Overrides MembershipProviderFindUsersByName(String, Int32, Int32, Int32).)
Public methodGetAllUsers
Gets a collection of all the users in DB.
(Overrides MembershipProviderGetAllUsers(Int32, Int32, Int32).)
Public methodGetNumberOfUsersOnline
Returns number of online users. Monitor online users feature must be enabled.
(Overrides MembershipProviderGetNumberOfUsersOnline.)
Public methodGetPassword
Gets password of user specified by username.
(Overrides MembershipProviderGetPassword(String, String).)
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 MembershipProviderGetUser(Object, Boolean).)
Public methodGetUser(String, Boolean)
Returns MembershipUser object containing data of user specified by his name.
(Overrides MembershipProviderGetUser(String, Boolean).)
Public methodGetUserNameByEmail
Gets user name of user with given email.
(Overrides MembershipProviderGetUserNameByEmail(String).)
Public methodInitialize
Initializes the provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
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.
Public methodResetPassword
Sets password of user specified by user name to empty string.
(Overrides MembershipProviderResetPassword(String, String).)
Public methodUnlockUser
Sets 'Enabled' property of user specified by user name to 'True'.
(Overrides MembershipProviderUnlockUser(String).)
Public methodUpdateUser
Updates data of specified user.
(Overrides MembershipProviderUpdateUser(MembershipUser).)
Public methodValidateUser
Checks whether given password matches the password of user specified by username.
(Overrides MembershipProviderValidateUser(String, String).)
Top
See Also