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.
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.
Umbraco.Web.Composing.Current.UmbracoHelper.MemberIsLoggedOn();
is working on a reply...