Questions Tagged With userhttps://answers.axonivy.com/tags/user/?type=rss&user=Emmanuelquestions tagged <span class="tag">user</span>enFri, 31 Mar 2017 10:47:49 -0400How to extend a user session time programmatically?https://answers.axonivy.com/questions/2556/how-to-extend-a-user-session-time-programmatically<p>Dear Ivy support,</p> <p>Using Ivy 6.2 we set the User session time-out value in the web.xml. Is there a way to extend the session validity programmatically without any User action? </p> <p>In a JSF context, would this method have any effect on the Ivy Session ? javax.faces.context.ExternalContext.setSessionMaxInactiveInterval(int interval) <em>Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.</em></p> <p>Thanks in advance Emmanuel</p>EmmanuelFri, 31 Mar 2017 10:47:49 -0400https://answers.axonivy.com/questions/2556/how-to-extend-a-user-session-time-programmaticallysessionusertimeoutAssign and revoke Role to Session User dynamicallyhttps://answers.axonivy.com/questions/1703/assign-and-revoke-role-to-session-user-dynamically<p>Hello,</p> <p>I need to assign and revoke Ivy Role dynamically on the session user. If I understand the API documentation well, the following method assigns the given role to the session, the role should be automatically unassigned after logout: Ivy.session().assignRole(role);</p> <p>Here the API documentation:</p> <p><em>@PublicAPI(value=EXPERT) Assigns a role to the session. Parameters:role The role to assign</em></p> <p>The problem is that I need also to revoke an Ivy Role dynamically, I could not find a method like Ivy.session().revokeRole(IRole role) or Ivy.session().unassignRole(Irole role). Is there a possibility to do that?</p> <p>Thanks a lot in advance.</p> <p>Emmanuel</p>EmmanuelThu, 31 Mar 2016 10:26:20 -0400https://answers.axonivy.com/questions/1703/assign-and-revoke-role-to-session-user-dynamicallysessionroleuserAssign user Tasks to another (user will be deleted)https://answers.axonivy.com/questions/1653/assign-user-tasks-to-another-user-will-be-deleted<p>Good morning,</p> <p>Is there a possibility to assign all the tasks owned by a user to another one? In that case the first user. Thanks a lot in advance</p> <p>Emmanuel</p>EmmanuelFri, 12 Feb 2016 09:16:11 -0500https://answers.axonivy.com/questions/1653/assign-user-tasks-to-another-user-will-be-deletedtasksuser