Copied to clipboard

Flag this post as spam?

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


  • Michael Hyldsgaard 64 posts 124 karma points
    Jan 04, 2014 @ 10:09
    Michael Hyldsgaard
    0

    Scripting Member Group/Type creation

    I'm looking for a way to script the creation of Member Groups and Member Types for use when deploying Umbraco but I can't seem to find any information on how to do this.

    Any input on this would be appreciated.

  • Charles Afford 1163 posts 1709 karma points
    Jan 05, 2014 @ 21:34
    Charles Afford
    0

    Hi, when you say script the creation of Member Groups and Member Types, what do you mean by this?  Could you be more specfic.  Thanks, Charlie.

  • Michael Hyldsgaard 64 posts 124 karma points
    Jan 05, 2014 @ 21:41
    Michael Hyldsgaard
    0

    Hi Charles.

    I'm using the Courier commandline tool for deployment but unfortunately Courier has no support for members (or groups/types). 

    So I'm really just looking for a way to do this using the API and c#.

  • Charles Afford 1163 posts 1709 karma points
    Jan 05, 2014 @ 21:50
    Charles Afford
    0

    So what you need is a way of exporting your members and groups?  and then reimporting them?

    Charlie :)

  • Michael Hyldsgaard 64 posts 124 karma points
    Jan 05, 2014 @ 21:53
    Michael Hyldsgaard
    0

    Yup! That really sums it up... :o)

    The challenge (and why I would love for Courier to support this) is that my member types are using custom data types which can really mess things up with id's.

  • Charles Afford 1163 posts 1709 karma points
    Jan 05, 2014 @ 21:57
    Charles Afford
    0

    What version of umbraco are you using? :)

  • Michael Hyldsgaard 64 posts 124 karma points
    Jan 05, 2014 @ 21:58
    Michael Hyldsgaard
    0

    6.1.5

  • Charles Afford 1163 posts 1709 karma points
    Jan 05, 2014 @ 22:01
    Charles Afford
    0

    This package should do the job :).  I am not an advocate of packages i prefer to do the codeing my self.  But it sounds like you need something that just does it :).  Charlie.

    http://our.umbraco.org/projects/developer-tools/cmsimport

     

  • Charles Afford 1163 posts 1709 karma points
    Jan 05, 2014 @ 22:03
    Charles Afford
    0

    If you wanted to do it your self.  I have some code that could point you in the right direction.  Charlie :)

  • Michael Hyldsgaard 64 posts 124 karma points
    Jan 05, 2014 @ 22:06
    Michael Hyldsgaard
    0

    The CMSImport tool is really great but as far as I remember it only import/exports the members and not the types/groups.

    So if you have some code that will get me started I would be really happy to see it... :o)

Please Sign in or register to post replies

Write your reply to:

Draft