Copied to clipboard

Flag this post as spam?

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


  • Phil Crowe 192 posts 256 karma points
    Feb 26, 2015 @ 15:22
    Phil Crowe
    0

    Accessing MemberService and ContentService via console application

    Hello, Im struggling to find documentation online for how to access the memberservice and contentservices from a console app external to my website. I've tried this:

    var students = Umbraco.Web.UmbracoContext.Current.Application.Services.MemberService.GetMembersByMemberType("Pupil");

    but it just errors, How can I access these from a console application?

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 26, 2015 @ 15:35
  • 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