Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 590 posts 806 karma points
    Jan 27, 2011 @ 13:08
    Fredrik Esseen
    0

    Remove member from database

    Hi!

    Something strange happened in one of my installations. A member has been created but when I try to click the member I get the message:

    No user with name 'xxxxxxx' exists

    I now want to delete that member in the db but I dont want to mess up anything.

    I found the member in UmbracoNode but is it more tables connected to the member?

  • Jan Skovgaard 11257 posts 23497 karma points MVP 7x admin c-trib
    Jan 30, 2011 @ 21:50
    Jan Skovgaard
    0

    Hi Froad

    Just to be clear here...are you thinking about a user or a member?

    If you need to delete a member I think you should also have a look at the cmsMember table.

    /Jan

  • Fredrik Esseen 590 posts 806 karma points
    Jan 31, 2011 @ 08:15
    Fredrik Esseen
    0

    Thanks!

    I think I got all tables now.

    UmbracoNode
    CmsMember
    Member2Membergroup
    CmsContent

  • Richard Soeteman 3782 posts 11691 karma points MVP
    Jan 31, 2011 @ 08:51
    Richard Soeteman
    2

    Hi,

    This is probably becasue of a member with no Loginname exists in your cmsMemberTable. Give it a loginname and you won't get the message again.

    Cheers,

    Richard

  • Dirk De Grave 4534 posts 5980 karma points MVP 3x admin c-trib
    Jan 31, 2011 @ 09:34
    Dirk De Grave
    0

    Richard could be right, check for a member with a blank username and set the username, and all should be good

     

    Cheers,

    /Dirk

  • Fredrik Esseen 590 posts 806 karma points
    Feb 01, 2011 @ 09:19
    Fredrik Esseen
    0

    Perfect!

    Thx!

  • Martin Skov Nielsen 22 posts 47 karma points
    Mar 06, 2013 @ 07:47
    Martin Skov Nielsen
    0

    In case anyone bumps into this again - it might be worth knowing that you want to be

    using umbraco.cms.businesslogic.member

    and then something like:

    Member.GetAllAsList()

Please Sign in or register to post replies

Write your reply to:

Draft