Forum Discussion

DavidRay's avatar
DavidRay
Ideator III
7 years ago
Solved

Server side method to make external call on user login

Hi there,

I'm looking for a server side method that I can add some C# code that runs each time a user logs in - I want to add a one line call to an external web service - are there any suggested out-of-box methods I can use

  • Hi DavidRay,

    Under Administration > System Events, you can define a few events which are triggered by global events. One of the events is SuccessfulLogin, which you can attach a server method to. Creating your own method and setting it as a system event is probably the easiest way to accomplish what you're looking for.

    AJ 

1 Reply

  • asebastian's avatar
    asebastian
    Community Manager

    Hi DavidRay,

    Under Administration > System Events, you can define a few events which are triggered by global events. One of the events is SuccessfulLogin, which you can attach a server method to. Creating your own method and setting it as a system event is probably the easiest way to accomplish what you're looking for.

    AJ