View Source
Class UsersMembershipProvider
Custom Membership Provider for Umbraco Users (User authentication for Umbraco Backend CMS)
Inheritance
System.Object
System.Web.Security.MembershipProvider
Assembly: Umbraco.Web.dll
Syntax
public class UsersMembershipProvider : UmbracoMembershipProvider<IMembershipUserService, IUser>
Constructors
View Source
UsersMembershipProvider()
Declaration
public UsersMembershipProvider()
View Source
UsersMembershipProvider(IMembershipMemberService<IUser>, IMemberTypeService)
Declaration
public UsersMembershipProvider(IMembershipMemberService<IUser> memberService, IMemberTypeService memberTypeService)
Parameters
Properties
View Source
AllowManuallyChangingPassword
For backwards compatibility, this provider supports this option by default it is FALSE for users
Declaration
public override bool AllowManuallyChangingPassword { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
DefaultMemberTypeAlias
Declaration
public override string DefaultMemberTypeAlias { get; }
Property Value
Type |
Description |
System.String |
|
View Source
EnablePasswordReset
Indicates whether the membership provider is configured to allow users to reset their passwords.
Declaration
public override bool EnablePasswordReset { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
ProviderName
Declaration
public override string ProviderName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
ConvertToMembershipUser(IUser)
Declaration
protected override MembershipUser ConvertToMembershipUser(IUser entity)
Parameters
Type |
Name |
Description |
IUser |
entity |
|
Returns
Type |
Description |
System.Web.Security.MembershipUser |
|
View Source
Initialize(String, NameValueCollection)
Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Specialized.NameValueCollection |
config |
|