## Uses of Interface
com.ibm.openpages.api.security.IUser

- Packages that use IUser
  Package | Description
  --- | ---
  com.ibm.openpages.api.audit | Provides interfaces to work with the OpenPages audit trail.
  com.ibm.openpages.api.process | This package and its components provides access to long running process objects.
  com.ibm.openpages.api.questionnaire | This package and its components provides access to questionnaire objects.
  com.ibm.openpages.api.resource | Provides interfaces to work with the OpenPages content data: folders, GRC objects and document attachments.
  com.ibm.openpages.api.respview | Provides interfaces to work with the OpenPages responsive views.
  com.ibm.openpages.api.security | Provides interfaces to work with the OpenPages security data: users, groups, and role-based security.
  com.ibm.openpages.api.service | Provides the main interfaces to work with the API services.
  com.ibm.openpages.api.workflow | Provides interfaces to work with native workflow system.

- - ### Uses of IUser in com.ibm.openpages.api.audit

    Methods in com.ibm.openpages.api.audit that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IAuditLog.`modifiedBy()` Gets the user who modified the object.

  - ### Uses of IUser in com.ibm.openpages.api.process

    Methods in com.ibm.openpages.api.process that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IProcessInfo.`getCreatedBy()` Returns the creator (user) of the process.

  - ### Uses of IUser in com.ibm.openpages.api.questionnaire

    Methods in com.ibm.openpages.api.questionnaire that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IQuestion.`getAnsweredBy()` Returns the user who last answered
    `IUser` | IQuestionnaire.`getAssignee()` Returns the assignee (user) of this questionnaire.

  - ### Uses of IUser in com.ibm.openpages.api.resource

    Methods in com.ibm.openpages.api.resource that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IResource.`getCreator()` Returns the creator (user) of this resource.
    `IUser` | IResource.`getLastModifiedBy()` Returns the user who last modified this resource.

  - ### Uses of IUser in com.ibm.openpages.api.respview

    Methods in com.ibm.openpages.api.respview that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IRespViewContainer.`getLastModifiedBy()` Returns the user who last modified the responsive view.

  - ### Uses of IUser in com.ibm.openpages.api.security

    Methods in com.ibm.openpages.api.security that return types with arguments of type IUser
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<IUser>` | IGroup.`getUsers()` Returns all users of a security group.

  - ### Uses of IUser in com.ibm.openpages.api.service

    Methods in com.ibm.openpages.api.service that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | ISecurityService.`createUser(UserInfo userInfo, java.util.List<IGroup> groups)` Creates user based on provided specification and a list of groups for membership assignment.
    `IUser` | ISecurityService.`getCurrentUser()` Returns the currently logged in user.
    `IUser` | ISecurityService.`getUser(Id userId)` Retrieves user by Id.
    `IUser` | ISecurityService.`getUser(java.lang.String userName)` Retrieves user information by name.

    Methods in com.ibm.openpages.api.service that return types with arguments of type IUser
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<IUser>` | ISecurityService.`getUsers(boolean includeActiveusersOnly)` Retrieves users from the OpenPages security system.

    Methods in com.ibm.openpages.api.service with parameters of type IUser
    Modifier and Type | Method and Description
    --- | ---
    `void` | ISecurityService.`assignRole(IUser user, IRoleTemplate roleTemplate, IFolder folder)` Assigns role to specified user for the given folder.
    `void` | ISecurityService.`assignRoles(IUser user, java.util.List<IRoleTemplate> roleTemplates, java.util.List<IFolder> folders)` Assigns each of the roles in the roleTemplates list to a specified user in each of the folders.
    `IProfile` | IConfigurationService.`getPreferredProfile(IUser user)` Returns the preferred profile for the specified user.
    `java.util.List<IProfile>` | IConfigurationService.`getProfiles(IUser user)` Returns the list of profiles associated with the specified user.
    `boolean` | ISecurityService.`isSuperAdministrator(IUser user)` Checks whether the user is a system designated Super Administrator.
    `void` | IConfigurationService.`setPreferredProfile(IProfile profile, IUser user)` Set the preferred profile for the user.

    Method parameters in com.ibm.openpages.api.service with type arguments of type IUser
    Modifier and Type | Method and Description
    --- | ---
    `void` | ISecurityService.`deleteUsers(java.util.List<IUser> users)` Deletes specified users from OpenPages security system.

  - ### Uses of IUser in com.ibm.openpages.api.workflow

    Methods in com.ibm.openpages.api.workflow that return IUser
    Modifier and Type | Method and Description
    --- | ---
    `IUser` | IEvaluationContext.`getUser()` Returns user who runs the operation in the context.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.