How log out a user without Salesforce user menu

Badge +3

Wondering If we can write any script to log out a user. All we want just have a button (not the navigation menu) that would cause the user log out and redirect to the log in page.

This topic has been closed for comments

3 replies

Badge +17

Try a button that redirects the user to: It can be a button in a Page title or a navigation item or you can build your own button in a template

Badge +13

Agreed, a simple “Redirect to URL” action with the following relative URL (so it works regardless of the instance you’re on) should do the trick:


Badge +3

Thanks Raymond and Zach. That was exactly what we needed.