Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jivan thapa 194 posts 681 karma points
    Jun 07, 2016 @ 12:45
    jivan thapa
    0

    MemberService.CreateMember allows to create multiple users with same username

    Hi, I am using Umbraco version 7.3.7 assembly: 1.0.5876.30923

    Creating a member via Umbraco API allows to create multiple users with same username.

      var m = ApplicationContext.Current.Services.MemberService.CreateMember("jivan@a.abc", "jivan@a.abc", "jivan", "member");
        ApplicationContext.Current.Services.MemberService.Save(m);
    

    Is that normal behaviors? So we must check before creating a new member.

    Note: using System.Web.Security.Membership.CreateUser() does not allow to create members with same username.

    -Jivan Thapa

    enter image description here

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies