Skip to main content
Nintex Community Menu Bar
Question

How log out a user without Salesforce user menu

  • July 10, 2024
  • 3 replies
  • 18 views

Forum|alt.badge.img+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 replies.

3 replies

Forum|alt.badge.img+17

Try a button that redirects the user to: https://na22.salesforce.com/secur/logout.jsp It can be a button in a Page title or a navigation item or you can build your own button in a template


Forum|alt.badge.img+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:

/secur/logout.jsp



Forum|alt.badge.img+3

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