Logging out a mobile user

I am trying to log out a mobile user who has used the mobile login widget off market to login with. I have tried variances of the following code to log the user out: this.UserParameter1 = _UserParameter1 == null ? null : system.proxies.User.initialize(getContext(), _UserParameter1); // BEGIN USER CODE // BEGIN USER CODE try{ ISession session = this.UserParameter1.getContext().getSession(); if (session != null) Core.logout(session); } catch(Exception e){ return false; } return true; Each time I get the following error: java.lang.ExceptionInInitializerError at akka.util.ReflectiveAccess$.isRemotingEnabled(ReflectiveAccess.scala:24) at akka.actor.LocalActorRef$$anonfun$stop$1.apply$mcV$sp(ActorRef.scala:729) at akka.actor.LocalActorRef$$anonfun$stop$1.apply(ActorRef.scala:723) at akka.actor.LocalActorRef$$anonfun$stop$1.apply(ActorRef.scala:723) at akka.util.ReentrantGuard.withGuard(LockUtil.scala:20) How can I actually log a user out from the mobile app point of view?
2 answers

Have you tried the "Sign Out" button ?


Thanks Jacques! Yes... that button worked juuuuuuuuust perfectly.

Mobile Screen > Right click > Select the sign out button.