## Uses of Class
org.keycloak.representations.idm.UserRepresentation

- Packages that use UserRepresentation
  Package | Description
  --- | ---
  org.keycloak.exportimport.util |
  org.keycloak.models.utils |
  org.keycloak.partialimport |
  org.keycloak.representations.idm |
  org.keycloak.services.resources.admin |

- - ### Uses of UserRepresentation in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util that return UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `static UserRepresentation` | ExportUtils.`exportUser(KeycloakSession session, RealmModel realm, UserModel user)` Full export of user (including role mappings and credentials)

  - ### Uses of UserRepresentation in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `static UserRepresentation` | ModelToRepresentation.`toRepresentation(UserModel user)`

    Methods in org.keycloak.models.utils with parameters of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RepresentationToModel.`createCredentials(UserRepresentation userRep, UserModel user)`
    `static void` | RepresentationToModel.`createRoleMappings(UserRepresentation userRep, UserModel user, RealmModel realm)`
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep)`

  - ### Uses of UserRepresentation in org.keycloak.partialimport

    Methods in org.keycloak.partialimport that return types with arguments of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<UserRepresentation>` | UsersPartialImport.`getRepList(PartialImportRepresentation partialImportRep)`

    Methods in org.keycloak.partialimport with parameters of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | UsersPartialImport.`create(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `boolean` | UsersPartialImport.`exists(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `String` | UsersPartialImport.`existsMessage(UserRepresentation user)`
    `String` | UsersPartialImport.`getModelId(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `String` | UsersPartialImport.`getName(UserRepresentation user)`
    `void` | UsersPartialImport.`remove(RealmModel realm, KeycloakSession session, UserRepresentation user)`

  - ### Uses of UserRepresentation in org.keycloak.representations.idm

    Fields in org.keycloak.representations.idm with type parameters of type UserRepresentation
    Modifier and Type | Field and Description
    --- | ---
    `protected List<UserRepresentation>` | RealmRepresentation.`users`
    `protected List<UserRepresentation>` | PartialImportRepresentation.`users`

    Methods in org.keycloak.representations.idm that return UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `UserRepresentation` | UserRepresentation.`singleAttribute(String name, String value)`
    `UserRepresentation` | RealmRepresentation.`user(String username)`

    Methods in org.keycloak.representations.idm that return types with arguments of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<UserRepresentation>` | RealmRepresentation.`getUsers()`
    `List<UserRepresentation>` | PartialImportRepresentation.`getUsers()`

    Method parameters in org.keycloak.representations.idm with type arguments of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | RealmRepresentation.`setUsers(List<UserRepresentation> users)`
    `void` | PartialImportRepresentation.`setUsers(List<UserRepresentation> users)`

  - ### Uses of UserRepresentation in org.keycloak.services.resources.admin

    Methods in org.keycloak.services.resources.admin that return UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `UserRepresentation` | ClientResource.`getServiceAccountUser()` Get a user dedicated to the service account
    `UserRepresentation` | UsersResource.`getUser(String id)` Get represenation of the user

    Methods in org.keycloak.services.resources.admin that return types with arguments of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<UserRepresentation>` | GroupResource.`getMembers(Integer firstResult, Integer maxResults)` Get users Returns a list of users, filtered according to query parameters
    `List<UserRepresentation>` | UsersResource.`getUsers(String search, String last, String first, String email, String username, Integer firstResult, Integer maxResults)` Get users Returns a list of users, filtered according to query parameters

    Methods in org.keycloak.services.resources.admin with parameters of type UserRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | UsersResource.`createUser(javax.ws.rs.core.UriInfo uriInfo, UserRepresentation rep)` Create a new user Username must be unique.
    `javax.ws.rs.core.Response` | UsersResource.`updateUser(String id, UserRepresentation rep)` Update the user
    `static void` | UsersResource.`updateUserFromRep(UserModel user, UserRepresentation rep, Set<String> attrsToRemove, RealmModel realm, KeycloakSession session, boolean removeMissingRequiredActions)`

Copyright © 2016 JBoss by Red Hat. All rights reserved.