Copied to clipboard

Flag this post as spam?

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

  • Iain Martin 54 posts 98 karma points
    May 09, 2019 @ 12:56
    Iain Martin

    Check member logged in for Version 8

    Okay, I know this is probably blindingly simple and I'm just missing something obvious, but I'm stuck at the moment.

    I'm migrating a site from V7 to V8 and I'm stuck on verifying if a member is logged in our not from a standard static class in the APP_Code section - previously I would use the MembershipHelper from Web.Security, but this doesn't appear to work.

    For creating the user, I use the usual API controller and Services.MemberService is available, I guess because I'm in the 'correct' place, but I can't use that for the static class.

    What's the method for doing this in a static class - basically I'm creating a pseudo Site object that contains various bits and pieces and the current logged in member is one of those items.

    I've looked at the documentation, but these say this hasn't been verified for V8 yet.

    Basically I just need pointed in the right direction for this one and I'll be off and running again.

  • jivan thapa 194 posts 681 karma points
    Jan 22, 2020 @ 10:45
    jivan thapa


Please Sign in or register to post replies

Write your reply to: