Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoMembershipProviderBase

    A base membership provider class for umbraco providers

    Inheritance
    System.Object
    System.Configuration.Provider.ProviderBase
    System.Web.Security.MembershipProvider
    MembershipProviderBase
    Namespace: Umbraco.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class UmbracoMembershipProviderBase : MembershipProviderBase

    Properties

    View Source

    DefaultMemberTypeAlias

    Declaration
    public abstract string DefaultMemberTypeAlias { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    CreateUser(String, String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)

    Adds a new membership user to the data source.

    Declaration
    public MembershipUser CreateUser(string memberTypeAlias, string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
    Parameters
    Type Name Description
    System.String memberTypeAlias

    The member type alias to use when creating the member

    System.String username

    The user name for the new user.

    System.String password

    The password for the new user.

    System.String email

    The e-mail address for the new user.

    System.String passwordQuestion

    The password question for the new user.

    System.String passwordAnswer

    The password answer for the new user

    System.Boolean isApproved

    Whether or not the new user is approved to be validated.

    System.Object providerUserKey

    The unique identifier from the membership data source for the user.

    System.Web.Security.MembershipCreateStatus status

    A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.

    Returns
    Type Description
    System.Web.Security.MembershipUser

    A System.Web.Security.MembershipUser object populated with the information for the newly created user.

    View Source

    PerformCreateUser(String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)

    Adds a new membership user to the data source.

    Declaration
    protected sealed override MembershipUser PerformCreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
    Parameters
    Type Name Description
    System.String username

    The user name for the new user.

    System.String password

    The password for the new user.

    System.String email

    The e-mail address for the new user.

    System.String passwordQuestion

    The password question for the new user.

    System.String passwordAnswer

    The password answer for the new user

    System.Boolean isApproved

    Whether or not the new user is approved to be validated.

    System.Object providerUserKey

    The unique identifier from the membership data source for the user.

    System.Web.Security.MembershipCreateStatus status

    A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.

    Returns
    Type Description
    System.Web.Security.MembershipUser

    A System.Web.Security.MembershipUser object populated with the information for the newly created user.

    View Source

    PerformCreateUser(String, String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)

    Adds a new membership user to the data source.

    Declaration
    protected abstract MembershipUser PerformCreateUser(string memberTypeAlias, string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
    Parameters
    Type Name Description
    System.String memberTypeAlias

    The member type alias to use when creating the member

    System.String username

    The user name for the new user.

    System.String password

    The password for the new user.

    System.String email

    The e-mail address for the new user.

    System.String passwordQuestion

    The password question for the new user.

    System.String passwordAnswer

    The password answer for the new user

    System.Boolean isApproved

    Whether or not the new user is approved to be validated.

    System.Object providerUserKey

    The unique identifier from the membership data source for the user.

    System.Web.Security.MembershipCreateStatus status

    A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.

    Returns
    Type Description
    System.Web.Security.MembershipUser

    A System.Web.Security.MembershipUser object populated with the information for the newly created user.

    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DefaultMemberTypeAlias
    • Methods
      • CreateUser(String, String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)
      • PerformCreateUser(String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)
      • PerformCreateUser(String, String, String, String, String, String, Boolean, Object, out MembershipCreateStatus)
      • ToString()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX