XModPro

Call Stored Procedure After AddUser?

Van Vangor Van Vangor posted Apr 21, 2014
Active Apr 21 · Viewed 1976 times

Hi. I need to run a stored procedure after a user has registered via the (AddUser) action, and I need to pass the __UserID token to the stored procedure.

Traditionally in XMP, you can call a stored procedure from the (SubmitCommand) statement. However, since (AddUser) only runs after (SubmitCommmand), the __UserID token is unavailable to SubmitCommand.

Does anyone have any ideas about how to approach this problem?



Incidentally, I've seen 3 other posts asking the same question, but I've not seen any solutions posted, yet:
http://old.dnndev.com/Support/Forums/tabid/215/aff/33/aft/29360/afv/topic/afpgj/1/Default.aspx#33013
http://old.dnndev.com/Support/Forums/tabid/215/aff/33/aft/29350/afv/topic/afpgj/1/Default.aspx#33014
http://dnndev.com/Community/Discuss/cid/10138


Thanks!
Van

1 Reply

Loading replies...