Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesListening for an User Authentication EventListening for an User Authentication Event
Previous
 
Next
New Post
7/31/2013 5:18 PM
 

I'm hopeful, but haven't been able to find anything yet. Is there any way I can listen for an event to be raised when a user authenticates in DNN? I know in the AuthenticationLoginBase there is an OnUserAuthentication event, but I don't want to do anything with Login controls. I simply want to be able to respond to a user authenticating in the system. I'm just curious if anyone can help point me in the right direction??

 Thanks in advance!

Briana


Check out the open source DNN Testimonials project on CodePlex and help build it!
 
New Post
8/1/2013 5:58 AM
Accepted Answer 

DNN does not ripple up any events that are externally exposed via the API in any meaningful way currently - its one of those areas that is really sadly overlooked.

If you just want to perform some action when a user logs in - the most common approach is to redirect all logins to a hidden page - then forward them on from there.

If you want to so something more passive like count logins or the like you could maybe setup a background process that tracks the system error dbo.EventLog table - which can keep a record of each login if that option is turned on.

Westa

 
New Post
8/1/2013 12:11 PM
 

Hi Wes,

Yea, that's kind of what I was expecting to hear unfortunately. I don't really want to force the hidden login. I was hoping maybe the EventLog exposed some event notifications, but I guess not. I'll have to find a creative way to solve this, but at least I know for sure what I can't do...so, that's a great start! I really appreciate the response, it helps greatly!

 Briana


Check out the open source DNN Testimonials project on CodePlex and help build it!
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesListening for an User Authentication EventListening for an User Authentication Event


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out