CMSMembershipProvider Class |
Namespace: CMS.MembershipProvider
public class CMSMembershipProvider : MembershipProvider
The CMSMembershipProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSMembershipProvider |
Name | Description | |
---|---|---|
CreateUser |
Creates new user.
(Overrides MembershipProviderCreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).) | |
DeleteUser |
Deletes user specified by username.
(Overrides MembershipProviderDeleteUser(String, Boolean).) | |
FindUsersByEmail |
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).) | |
FindUsersByName |
Gets a collection of membership users where the user name contains the specified user name to match.
(Overrides MembershipProviderFindUsersByName(String, Int32, Int32, Int32).) | |
GetAllUsers |
Gets a collection of all the users in DB.
(Overrides MembershipProviderGetAllUsers(Int32, Int32, Int32).) | |
GetNumberOfUsersOnline |
Returns number of online users. Monitor online users feature must be enabled.
(Overrides MembershipProviderGetNumberOfUsersOnline.) | |
GetPassword |
Gets password of user specified by username.
(Overrides MembershipProviderGetPassword(String, String).) | |
GetUser(UserInfo) |
Returns MembershipUser object containing data of user specified by his name.
| |
GetUser(Object, Boolean) |
Returns MembershipUser object containing data of user specified by providerUserKey.
(Overrides MembershipProviderGetUser(Object, Boolean).) | |
GetUser(String, Boolean) |
Returns MembershipUser object containing data of user specified by his name.
(Overrides MembershipProviderGetUser(String, Boolean).) | |
GetUserNameByEmail |
Gets user name of user with given email.
(Overrides MembershipProviderGetUserNameByEmail(String).) | |
ChangePassword |
Changes Password of user specified by username.
(Overrides MembershipProviderChangePassword(String, String, String).) | |
ChangePasswordQuestionAndAnswer |
As password questions and answers are not implemented in UserInfo, this metod returns true.
(Overrides MembershipProviderChangePasswordQuestionAndAnswer(String, String, String, String).) | |
Initialize |
Initializes the provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).) | |
MFValidateCredentials |
Checks if user can be authenticated.
| |
MFValidatePasscode(String, String) |
Validates entered passcode for user. Partial validation is checked.
This method should be used when validating passcode in multi-step scenario.
| |
MFValidatePasscode(UserInfo, String, Boolean) |
Validates entered passcode for user. Checks passcode only.
| |
ResetPassword |
Sets password of user specified by user name to empty string.
(Overrides MembershipProviderResetPassword(String, String).) | |
UnlockUser |
Sets 'Enabled' property of user specified by user name to 'True'.
(Overrides MembershipProviderUnlockUser(String).) | |
UpdateUser |
Updates data of specified user.
(Overrides MembershipProviderUpdateUser(MembershipUser).) | |
ValidateUser |
Checks whether given password matches the password of user specified by username.
(Overrides MembershipProviderValidateUser(String, String).) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |