Uses of Interface
ch.ivyteam.ivy.security.IUser
Package
Description
-
Uses of IUser in ch.ivyteam.ivy.bpm.engine.client
-
Uses of IUser in ch.ivyteam.ivy.bpm.engine.client.sub
Modifier and TypeMethodDescriptionExecute the request as the given user -
Uses of IUser in ch.ivyteam.ivy.environment
-
Uses of IUser in ch.ivyteam.ivy.security
Modifier and TypeMethodDescriptionISecurityContext.createUser
(String userName, String fullUserName, String password, Locale eMailLanguage, String eMailAddress, String externalSecuritySystemName) Deprecated, for removal: This API element is subject to removal in a future version.ISecurityContext.findUser
(long userId) Deprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users()
.find(long)
insteadDeprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users()
.findWithExternalLookup(String)
instead
Migration Example:ivy.session().getSecurityContext().findUser("ivy")
==>ivy.security.users().findWithExternalLookup("ivy")
ISecurityContext.findUserWithoutLookup
(String userName) Deprecated, for removal: This API element is subject to removal in a future version.useISecurityContext.users()
.find(String)
insteaddefault IUser
ISecurityDescriptor.getOwner()
Deprecated, for removal: This API element is subject to removal in a future version.Not supported anymore.ISession.getSessionUser()
Returns the session user or null if no user has been authenticated within the session (e.g., an anonymous session)IUserSubstitute.getSubstituteUser()
Gets the substitute userISecurityContext.getSystemUser()
Deprecated, for removal: This API element is subject to removal in a future version.IUserSubstitute.getUser()
Gets the user the substitute belongs toModifier and TypeMethodDescriptionIRole.getAllUsers()
Deprecated.IRole.getUsers()
Deprecated.useIRole.users()
.assignedPaged()
Migration Example:ivy.session().getSecurityContext().findRole("ivy").getUsers()
==>ivy.security.roles().find("ivy").users().assignedPaged().page(1)
ISecurityContext.getUsers()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionboolean
IUserToken.canActAsUser
(IUser user) Tests if the user of this user token currently can act as a certain workflow user.IUser.createSubstitute
(IUser mySubstitute, IRole forThisRole, String description) Creates a new substitute for a specific role.IUser.createSubstitute
(IUser mySubstitute, String description, SubstitutionType type) Creates a new substitute for personal tasks. -
Uses of IUser in ch.ivyteam.ivy.security.query
Modifier and TypeMethodDescriptionUserQuery.executor()
Provides a fluent API to execute this query and fetch its results. -
Uses of IUser in ch.ivyteam.ivy.security.session
-
Uses of IUser in ch.ivyteam.ivy.security.synch
-
Uses of IUser in ch.ivyteam.ivy.security.user
Modifier and TypeMethodDescriptionCreates a new userCreates a new userCreates a new userIUserRepository.find
(long userId) Deprecated, for removal: This API element is subject to removal in a future version.Finds a user by its name.Find a user by its identifierIUserRepository.findWithExternalLookup
(String userName) Find a user by its name.IUserRepository.system()
Gets the system userModifier and TypeMethodDescriptionIRoleUsers.allPaged()
Gets all users that own this role.IRoleUsers.allPaged
(int pageSize) Gets all users that own this role.IRoleUsers.assignedPaged()
Gets all users that are directly assigned to this roleIRoleUsers.assignedPaged
(int pageSize) Gets all users that are directly assigned to this roleIUserRepository.paged()
Gets a paged result with all users of this security contextIUserRepository.paged
(int pageSize) Gets a paged result with all users of this security context -
Uses of IUser in ch.ivyteam.ivy.workflow
Modifier and TypeMethodDescriptionICase.getCreatorUser()
Gets the user who created this case.IWorkflowEvent.getUser()
Gets the user which is responsible for this event.ITask.getWorkerUser()
Gets the user who has worked or is working on this task.INote.getWritter()
Gets the user who wrote the note.Modifier and TypeMethodDescriptionITask.getActivatorUserCandidates()
Deprecated.useITask.activator()
.userCandidatesPaged()
insteadModifier and TypeMethodDescriptionIWorkflowContext.findWorkTasks
(IUser user, int startIndex, int count) Finds tasks that a given user can work on (currently working or can start).IWorkflowContext.findWorkTasks
(IUser user, IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount, EnumSet<TaskState> includeTaskStates) Finds tasks that a given user can work on (currently working or can start).IWorkflowContext.getStartableProcessStarts
(IUser user) Returns all process start elements which the given user can start.IWorkflowContext.getStartables
(IUser user) Returns all startables which the given user can start.default void
ICase.setCreatorUser
(IUser creatorUser) Sets the given user as case creator. -
Uses of IUser in ch.ivyteam.ivy.workflow.document
-
Uses of IUser in ch.ivyteam.ivy.workflow.query
Modifier and TypeMethodDescriptionCaseQuery.FilterQuery.userCanWorkOn
(IUser user) CaseQuery.IFilterableColumns.userCanWorkOn
(IUser user) Filters all cases where the user can work on at least one task.CaseQuery.FilterQuery.userIsInvolved
(IUser user) CaseQuery.IFilterableColumns.userIsInvolved
(IUser user) Filters all cases the user is involved in.TaskQuery.FilterQuery.userIsInvolved
(IUser user) TaskQuery.IFilterableColumns.userIsInvolved
(IUser user) Filters all tasks the user is involved in. -
Uses of IUser in ch.ivyteam.ivy.workflow.signal
-
Uses of IUser in ch.ivyteam.ivy.workflow.task
Modifier and TypeMethodDescriptionIActivator.userCandidatesPaged()
Evaluates allusers
who can resume this task.IActivator.userCandidatesPaged
(int pageSize) Evaluates allusers
who can resume this task.
ISecurityContext.users()
.create(NewUser)
insteadMigration Example:
ivy.session().getSecurityContext().createUser("jd", "John Doe", "1234", Locale.ENGLISH, "john.doe@axonivy.com", null)
==>ivy.security.users.create(NewUser.create("jd").fullName("John Doe").password("1234").mailLanguage(Locale.ENGLISH).mailAddress("john.doe@axonivy.com").toNewUser())