Questions Tagged With userhttps://answers.axonivy.com/tags/user/?type=rssquestions tagged <span class="tag">user</span>enFri, 22 Feb 2019 05:05:02 -0500Can we support email address as ivy admin user?https://answers.axonivy.com/questions/3682/can-we-support-email-address-as-ivy-admin-user<p>We tried the following config:</p> <pre><code>SystemDb: Driver: org.postgresql.Driver Url: jdbc:<a>postgresql://db:5432/AxonIvySystemDatabase</a> UserName: admin Password: 1234 Autoconvert: false Administrators: customer@email.com: Password: GeneratedPassword Email: customer@email.com </code></pre> <p>but if fails - are there any plan to support email as user?</p> <p>Cheers</p>skilchenmannFri, 22 Feb 2019 05:05:02 -0500https://answers.axonivy.com/questions/3682/can-we-support-email-address-as-ivy-admin-useradministrationuserwho can run a task vs who can see a taskhttps://answers.axonivy.com/questions/3622/who-can-run-a-task-vs-who-can-see-a-task<p>Hi,</p> <p>Is it possible to make a task visible to a specified ROLE but only one user can Run it ? </p> <p>illustration : i want to assign a task to a user in a specific department, but i also want all the users in that department to be able to see the task and track it, but they cannot work on it. </p> <p>a work-around i came up with is to assign the task to the whole department, but hide the "run" button based on a custom field value in the task. also I added another layer of authentication when the task starts in order to increase security.(see the diagram ) <img alt="alt text" src="https://i.ibb.co/ky30z9Z/2019-01-21-16-09-07-Sample-Project-validation-Moqups.png"></p> <p>is this work-around secure ? </p> <p>is there a general solution for this issue ? </p> <p>i am using v 7.0.2 </p>Mohammed ShabanaMon, 21 Jan 2019 03:20:48 -0500https://answers.axonivy.com/questions/3622/who-can-run-a-task-vs-who-can-see-a-tasktaskstasklistroleuserRemove User in Axon.Ivy Designerhttps://answers.axonivy.com/questions/3606/remove-user-in-axon-ivy-designer<p>For a Testcase i need to remove a user on which we have allready Tasks in designer. When I remove the User in User Editor he ist still existing in ISecurityContext.getUsers(). Only when i close the designer and reopen it the user is removed. But than also all tasks are away.</p> <p>Is there a way to remove the User without closing Axon.Ivy Designer?</p>Thomas WirzThu, 10 Jan 2019 08:18:00 -0500https://answers.axonivy.com/questions/3606/remove-user-in-axon-ivy-designerdesigneruserHow to set information for logon IUser without permanently store to system?https://answers.axonivy.com/questions/2597/how-to-set-information-for-logon-iuser-without-permanently-store-to-system<p>Hi,</p> <p>I would like to implement a function to allow all user to share 1 common account for authenticating. That mean a user will have a token, storing his information such as Full Name, Email Address, etc. and he will use this token to login with the common account</p> <pre><code>IUser user = Ivy.session().getSecurityContext().findUser(COMMON_ACCOUNT); </code></pre> <p>To specify the information of logon user, I will use information from token.</p> <pre><code>user.setFullName(token.getFullName()); user.setEmailAddress(token.getEmailAddress()); </code></pre> <p>I only want these information temporary store in the session, and would be wiped out after user logout. But, by calling these IUser APIs, these information are persisted to system. Is there any good way to do that? Thanks</p>thienqhTue, 25 Apr 2017 23:47:53 -0400https://answers.axonivy.com/questions/2597/how-to-set-information-for-logon-iuser-without-permanently-store-to-systemauthenticationuserCreate case with different userhttps://answers.axonivy.com/questions/2593/create-case-with-different-user<p>Do you have an advise/idea how we can implement following requirement in Ivy:</p> <ol> <li>An Ivy Webservice gets called from <strong>User A</strong>.</li> <li>The Webservice process triggers another Ivy Business Process with the help of the "TriggerElement".</li> <li>The triggered Business Process should have as CaseCreator a <strong>User B</strong> not User A. (can we maybe set the User B as active user before we trigger the Business Process?)</li> </ol> <p>Thank you in advance!</p>peter_mucMon, 24 Apr 2017 09:29:28 -0400https://answers.axonivy.com/questions/2593/create-case-with-different-usercaseuserHow 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-programmaticallysessionusertimeoutLocal and AD Usershttps://answers.axonivy.com/questions/2449/local-and-ad-users<p>We synchronize our users with the AD. Is it possible to add local Users not existing in AD to the users? How can we do this, the Button for adding an user is disabled in the Axon.Ivy Administration. Can we add them in the application by code?</p>Thomas WirzFri, 17 Feb 2017 07:53:42 -0500https://answers.axonivy.com/questions/2449/local-and-ad-usersuserldapAssign 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-deletedtasksuserTask for every user with a specific Role (dynamically)https://answers.axonivy.com/questions/1621/task-for-every-user-with-a-specific-role-dynamically<p>Is it possible to create a task which has to be completed by every user of a specific role, which should be determined dynamically? I.e. if I have three users which own a role, all three users have to complete this task. The more convinient way would be, if all three get an own task in ther "Personal Task List".</p> <p>Thanks in advance for any answers.</p>rhorberThu, 07 Jan 2016 15:37:10 -0500https://answers.axonivy.com/questions/1621/task-for-every-user-with-a-specific-role-dynamicallytaskroleuserCan not login with synchronized user from active directoryhttps://answers.axonivy.com/questions/1582/can-not-login-with-synchronized-user-from-active-directory<p>The user is synchronized with the active directory, but I can not login with it. In the log there is the following message:</p> <pre><code>Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match of: ''NULL]; remaining name '/' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:276) at ch.ivyteam.ivy.security.internal.jndi.dircontext.LazyBindingDirContextAccess.search(LazyBindingDirContextAccess.java:47) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem$3$1.execute(JndiSecuritySystem.java:1063) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem$3$1.execute(JndiSecuritySystem.java:1) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem.execute(JndiSecuritySystem.java:613) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem$3.call(JndiSecuritySystem.java:1058) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem$3.call(JndiSecuritySystem.java:1) at ch.ivyteam.ivy.security.internal.jndi.JndiSecuritySystem.executeWithCachedContext(JndiSecuritySystem.java:637) </code></pre>SupportIvyTeamFri, 04 Dec 2015 14:57:14 -0500https://answers.axonivy.com/questions/1582/can-not-login-with-synchronized-user-from-active-directoryactivedirectoryuserHow can I create an ivy Test User from a registeration page ?https://answers.axonivy.com/questions/1552/how-can-i-create-an-ivy-test-user-from-a-registeration-page<p>Hello everybody,</p> <p>How can I create a test user in the ivy designer from a registration page(html dialog) ? Is there a way with ivy scrip ? </p> <p>Thanks for your awnsers, Patrick Bühlmann</p>PatrickThu, 12 Nov 2015 16:48:04 -0500https://answers.axonivy.com/questions/1552/how-can-i-create-an-ivy-test-user-from-a-registeration-pageivyscriptdesigneruserCreating a new user programmaticallyhttps://answers.axonivy.com/questions/1525/creating-a-new-user-programmatically<p>Hi</p> <p>I would like to realize the following scenario: Let's say, we have a website publicaly accessible (e-gov-platform). There is a link to a Process Start (HTTP Request). The first activity of this process should be a login/registration form. If the user has already an account, he should be able to login with username and password (for this part <a href="http://answers.axonivy.com/questions/1515/login-page-on-process-start-with-http-request-link-and-only-wf-users-set-to-true">this answer</a> is helpful). If not, he should be able to register a new user with a typical registration form. And here I'm stucked: In the public API I cannot find a method to create a new user. Am I searching in the wrong direction?</p> <p>Kind regards Björn</p>BjörnWed, 21 Oct 2015 12:13:54 -0400https://answers.axonivy.com/questions/1525/creating-a-new-user-programmaticallyuserDatabase password encryptionhttps://answers.axonivy.com/questions/1422/database-password-encryption<p>I've seen in the IWA_User table that password are encrypted. Is it possible to know which enprytion is used ? Is it possible to configure another ?</p>dbalasseThu, 30 Jul 2015 18:34:55 -0400https://answers.axonivy.com/questions/1422/database-password-encryptionuserHow to map AD group to Ivy role?https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role<p>We like to manage the rights for our ivy applications over the Microsoft Active Directory. According the AD groups, ivy roles should automatically added to the ivy user. We have in mind to build some technical processes to do that. But we have some questions...<br> <br><b>Is it possible to read (lower) OU's of a user?</b><br> If we have the OU "ivy" to import all users and there is a OU "admin" under the OU "ivy", can we find out which users are in the OU "admin"? How can we get this information. Maybe some how like reading AD attributes?<br> <br><b>Is it possible to listen to the LDAP synchronisation of the ivy server?</b><br> Every times when the user synchronisation is finished, our code should be executed to add specified ivy roles to the user based on the AD OU's.</p> <p>Thank you for your support</p>Adrian ImfeldThu, 23 Jul 2015 12:24:42 -0400https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-rolesecurityactivedirectoryuserldapHow to reassign tasks of users that are absenthttps://answers.axonivy.com/questions/1197/how-to-reassign-tasks-of-users-that-are-absent<p>If a user is ill or on vacation, how can we re-assign all of his existing tasks to another user ? What about the new taks that will be assign to him, can we automatically transfer those to another user ?</p>dbalasseWed, 04 Mar 2015 15:36:58 -0500https://answers.axonivy.com/questions/1197/how-to-reassign-tasks-of-users-that-are-absenttaskadministrationuserHow to avoid IllegalStateException during login & logout in a Script-Step?https://answers.axonivy.com/questions/694/how-to-avoid-illegalstateexception-during-login-logout-in-a-script-step<p>We have a certain situation where the current named user shall be logged out and be logged in as a different user. The problem is, that this results in an illegal task state. Code in the script step:</p> <pre><code>ivy.session.loginSessionUser("user1", "user1"); if(in.isSuperior == true) { ivy.session.loginSessionUser("superiorUser", "superiorUser"); } </code></pre> <p>Exception:</p> <pre><code>Exception at element [13B4B87B3A16CFA4-f15-io0]: java.lang.IllegalStateException: State of Task must be one of the following values CREATED, RESUMED but is ZOMBIE: </code></pre> <p>Is there a way to avoid this behavoir?</p> <p>Xpert.ivy 4.3. - error occurs on Designer &amp; Server level.</p>Nikel WeisThu, 15 May 2014 11:30:21 -0400https://answers.axonivy.com/questions/694/how-to-avoid-illegalstateexception-during-login-logout-in-a-script-stepusercan I check what are Users online or offline in xpert ivy use IUSER ?https://answers.axonivy.com/questions/552/can-i-check-what-are-users-online-or-offline-in-xpert-ivy-use-iuser<p>can I check what are Users online or offline in xpertivy use IUSER ?</p>toantpThu, 27 Feb 2014 06:37:16 -0500https://answers.axonivy.com/questions/552/can-i-check-what-are-users-online-or-offline-in-xpert-ivy-use-iuseruserPermissionDeniedException when calling iUser.getAllRoles()https://answers.axonivy.com/questions/548/permissiondeniedexception-when-calling-iuser-getallroles<p>My call to </p> <blockquote> <p><code>aUser.getAllRoles();</code></p> </blockquote> <p>throws the exception:</p> <blockquote> <p>PermissionDeniedException: Session 1 (cuongtruc.tran) is not allowed to call method public java.util.List ch.ivyteam.ivy.security.internal.User.getAllRoles(). The session does not fulfill the permission rule SESSION (MATCHES THIS AND OWNS UserReadOwnRoles PERMISSION) OR OWNS UserReadRoles PERMISSION OR OWNS UserReadRoles@SYSTEM PERMISSION</p> </blockquote> <p>I even tried with grant admin permisson to that user but still throws the same exception.</p>Tran Cuong TrucWed, 26 Feb 2014 05:16:00 -0500https://answers.axonivy.com/questions/548/permissiondeniedexception-when-calling-iuser-getallrolessecurityroleuserHow to authenticate a user that is provided by a Single Sign On (SSO) proxy.https://answers.axonivy.com/questions/506/how-to-authenticate-a-user-that-is-provided-by-a-single-sign-on-sso-proxy<p>We've got a SSO-Proxy for most of our web applications. I'd like to make use of the SSO-Proxy instead of requiring the user to login with his Windows credentials.</p> <p>I've figured out how I can read the HTTP header containing the user-id. Now I'd like to authenticate as this user, but all provided methods require a password. Is there anyway I can authenticate a user only by his user-id?</p> <p>This is what I've got to get the user-id:</p> <pre><code>package ch.company.ivy.security; import java.util.Map; import javax.faces.context.FacesContext; public class Auth { Map&lt;String, String&gt; headers; String userId; public Auth() { headers = FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap(); userId = headers.get("UID").toString(); } public String getUserId() { return this.userId; } } </code></pre>ahatiusSat, 25 Jan 2014 15:28:14 -0500https://answers.axonivy.com/questions/506/how-to-authenticate-a-user-that-is-provided-by-a-single-sign-on-sso-proxyssoauthenticationuserIs it possible to authentication an application user like a system administrator?https://answers.axonivy.com/questions/252/is-it-possible-to-authentication-an-application-user-like-a-system-administrator<p>Hi there when I user method session.authenticateSessionUser like the way dialog login administrator used , I just authentication all user in this Application , can't found admin user of all Application the sample : when I setup Ivy server I create a user admin to login administrator (admin/admin) , but when I call session.authenticateSessionUser at my application in server I can't found admin user do we have a way to authenticate that user ? thanks a lot</p>toantpWed, 15 Jan 2014 08:54:25 -0500https://answers.axonivy.com/questions/252/is-it-possible-to-authentication-an-application-user-like-a-system-administratorauthenticationadministrationuserManage users of several applications by a single admin userhttps://answers.axonivy.com/questions/220/manage-users-of-several-applications-by-a-single-admin-user<p>xpert.ivy server: Request a task list, manage substitution, absences and so one is already limited to the appropriate WebApp the requesting user is defined in. </p> <p>Is there a possibility to request tasks, manage absences etc. for all WebApps by a single admin user (defined in a WebApp) which has access to all the other WebApps on the same system/server?</p>StefanThu, 19 Dec 2013 14:42:59 -0500https://answers.axonivy.com/questions/220/manage-users-of-several-applications-by-a-single-admin-useradministrationuserHow can I find a specific user case insensitive?https://answers.axonivy.com/questions/425/how-can-i-find-a-specific-user-case-insensitive<p>I use </p> <pre><code>ivy.wf.getSecurityContext().findUser("username"); </code></pre> <p>But this works case sensitive so that the same call with "USERNAME" as parameter does not find the same user.</p> <p>I need to find a user case insensitive. How to do that?</p>Thomas KohlerThu, 10 Nov 2011 06:44:16 -0500https://answers.axonivy.com/questions/425/how-can-i-find-a-specific-user-case-insensitiveapiuserGet all users for an applicationhttps://answers.axonivy.com/questions/376/get-all-users-for-an-application<p>I need to get a list with all user names in my application to display them in a combo box? But i do not find a way to do this.</p>Katharina KaczmarczykWed, 20 Oct 2010 05:55:06 -0400https://answers.axonivy.com/questions/376/get-all-users-for-an-applicationsecurityuserDoes a user have a specific role?https://answers.axonivy.com/questions/293/does-a-user-have-a-specific-role<p>I need some insights in the role system of Ivy. I currently check whether a user does have a role by checking whether the current user does have a role with the ID of that role I am interested in. One problem is that I have to hard code the ID's, another problem that the ID's are hard to retrieve and they are different on Designer and Server. Is there a more simple way to find out whether a specific user does have a specific role?</p>Benedict GroppeThu, 06 Aug 2009 07:02:04 -0400https://answers.axonivy.com/questions/293/does-a-user-have-a-specific-rolesecurityuserMore permissions for test user in the Designerhttps://answers.axonivy.com/questions/279/more-permissions-for-test-user-in-the-designer<p>How can I get more permissions for test users in the Designer. I get a lot of such messages</p> <p><code>PermissionDeniedException: User admin must have one or multiple of the following permissions SessionReadAll, SessionReadAll</code></p>Steffen JanthorFri, 13 Mar 2009 06:55:31 -0400https://answers.axonivy.com/questions/279/more-permissions-for-test-user-in-the-designersecurityuser