Announcement

Collapse
No announcement yet.

sc_user_logout example

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • sc_user_logout example

    Hi,

    Can someone please give me an example of using sc_user_logout as there is no proper example in the documentation.

    I want to be able to logout, then log back in and restart the application.

    Any example for the above process would aslo be really appreciated.

    Thanks

  • #2
    In the event onexecute in a menu:

    Code:
    if({sc_script_name} == 's_Login'):
        sc_logged_out([logged_user], [logged_date_login]);
    endif;
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X