Custom handler for security events

Peter Otmar asked on November 11, 2014 01:44

Hi,

We need to check some session variables if user is logged in. Is there an event we could utilize which fires on user identity check?

Thanks for help.

Regards Peter

Recent Answers


Brenden Kehren answered on November 11, 2014 16:05

You can check if the CMS.Membership.MembershipContext.AuthenticatedUser.IsPublic() as a simple check. If you want to check when they are being authenticated you can use the custom event handler talked about here in the documentation.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.