Uses of Class
org.keycloak.representations.idm.UserRepresentation
Packages that use UserRepresentation
Package
Description
-
Uses of UserRepresentation in org.keycloak.admin.client.resource
Methods in org.keycloak.admin.client.resource that return UserRepresentationModifier and TypeMethodDescriptionClientResource.getServiceAccountUser()
UserResource.toRepresentation()
UserResource.toRepresentation
(boolean userProfileMetadata) Methods in org.keycloak.admin.client.resource that return types with arguments of type UserRepresentationModifier and TypeMethodDescriptionRoleResource.getRoleUserMembers()
Deprecated.RoleResource.getRoleUserMembers
(Integer firstResult, Integer maxResults) Deprecated.RoleResource.getUserMembers()
Get role members.RoleResource.getUserMembers
(Boolean briefRepresentation, Integer firstResult, Integer maxResults) Get role members.RoleResource.getUserMembers
(Integer firstResult, Integer maxResults) Get role members.UsersResource.list()
GroupResource.members()
Get usersGet usersGet usersUsersResource.search
(Boolean emailVerified, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) Search for users whose username, first or last name or email matches the value provided bysearch
.Search for users whose username or email matches the value provided bysearch
.UsersResource.search
(String search, Integer firstResult, Integer maxResults, Boolean briefRepresentation) Search for users whose username or email matches the value provided bysearch
.UsersResource.search
(String username, String firstName, String lastName, String email, Boolean emailVerified, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) UsersResource.search
(String username, String firstName, String lastName, String email, Boolean emailVerified, String idpAlias, String idpUserId, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) Search for users based on the given filters.UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults) UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation) UsersResource.search
(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation, Boolean exact) Search for users based on the given filters.UsersResource.searchByAttributes
(Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation, String searchQuery) UsersResource.searchByAttributes
(String searchQuery) UsersResource.searchByAttributes
(String searchQuery, Boolean exact) UsersResource.searchByEmail
(String email, Boolean exact) UsersResource.searchByFirstName
(String email, Boolean exact) UsersResource.searchByLastName
(String email, Boolean exact) UsersResource.searchByUsername
(String username, Boolean exact) Methods in org.keycloak.admin.client.resource with parameters of type UserRepresentationModifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
UsersResource.create
(UserRepresentation userRepresentation) void
UserResource.update
(UserRepresentation userRepresentation) -
Uses of UserRepresentation in org.keycloak.exportimport.util
Methods in org.keycloak.exportimport.util that return UserRepresentationModifier and TypeMethodDescriptionstatic UserRepresentation
ExportUtils.exportFederatedUser
(KeycloakSession session, RealmModel realm, String id, ExportOptions options) Full export of user data stored in federated storage (including role mappings and credentials)static UserRepresentation
ExportUtils.exportUser
(KeycloakSession session, RealmModel realm, UserModel user, ExportOptions options, boolean internal) 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 UserRepresentationModifier and TypeMethodDescriptionprotected static UserRepresentation
StripSecretsUtils.stripUser
(UserRepresentation user) static UserRepresentation
ModelToRepresentation.toBriefRepresentation
(UserModel user) static UserRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, UserModel user) Methods in org.keycloak.models.utils with parameters of type UserRepresentationModifier and TypeMethodDescriptionstatic void
RepresentationToModel.createCredentials
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user, boolean adminRequest) static void
RepresentationToModel.createFederatedIdentities
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user) static void
RepresentationToModel.createGroups
(KeycloakSession session, UserRepresentation userRep, RealmModel newRealm, UserModel user) static void
RepresentationToModel.createRoleMappings
(UserRepresentation userRep, UserModel user, RealmModel realm) static UserModel
RepresentationToModel.createUser
(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep) protected static UserRepresentation
StripSecretsUtils.stripUser
(UserRepresentation user) -
Uses of UserRepresentation in org.keycloak.partialimport
Methods in org.keycloak.partialimport that return types with arguments of type UserRepresentationModifier and TypeMethodDescriptionUsersPartialImport.getRepList
(PartialImportRepresentation partialImportRep) Methods in org.keycloak.partialimport with parameters of type UserRepresentationModifier and TypeMethodDescriptionvoid
UsersPartialImport.create
(RealmModel realm, KeycloakSession session, UserRepresentation user) boolean
UsersPartialImport.exists
(RealmModel realm, KeycloakSession session, UserRepresentation user) UsersPartialImport.existsMessage
(RealmModel realm, UserRepresentation user) UsersPartialImport.getModelId
(RealmModel realm, KeycloakSession session, UserRepresentation user) UsersPartialImport.getName
(UserRepresentation user) void
UsersPartialImport.remove
(RealmModel realm, KeycloakSession session, UserRepresentation user) -
Uses of UserRepresentation in org.keycloak.representations.idm
Subclasses of UserRepresentation in org.keycloak.representations.idmFields in org.keycloak.representations.idm with type parameters of type UserRepresentationModifier and TypeFieldDescriptionprotected List<UserRepresentation>
RealmRepresentation.federatedUsers
protected List<UserRepresentation>
PartialImportRepresentation.users
protected List<UserRepresentation>
RealmRepresentation.users
Methods in org.keycloak.representations.idm that return UserRepresentationMethods in org.keycloak.representations.idm that return types with arguments of type UserRepresentationModifier and TypeMethodDescriptionRealmRepresentation.getFederatedUsers()
PartialImportRepresentation.getUsers()
RealmRepresentation.getUsers()
Method parameters in org.keycloak.representations.idm with type arguments of type UserRepresentationModifier and TypeMethodDescriptionvoid
RealmRepresentation.setFederatedUsers
(List<UserRepresentation> federatedUsers) void
PartialImportRepresentation.setUsers
(List<UserRepresentation> users) void
RealmRepresentation.setUsers
(List<UserRepresentation> users) Constructors in org.keycloak.representations.idm with parameters of type UserRepresentationModifierConstructorDescription -
Uses of UserRepresentation in org.keycloak.services.resources.account.resources
Subclasses of UserRepresentation in org.keycloak.services.resources.account.resources -
Uses of UserRepresentation in org.keycloak.services.resources.admin
Methods in org.keycloak.services.resources.admin that return UserRepresentationModifier and TypeMethodDescriptionClientResource.getServiceAccountUser()
Get a user dedicated to the service accountUserResource.getUser
(boolean userProfileMetadata) Get representation of the userMethods in org.keycloak.services.resources.admin that return types with arguments of type UserRepresentationModifier and TypeMethodDescriptionGroupResource.getMembers
(Integer firstResult, Integer maxResults, Boolean briefRepresentation) Get users Returns a stream of users, filtered according to query parametersUsersResource.getUsers
(String search, String last, String first, String email, String username, Boolean emailVerified, String idpAlias, String idpUserId, Integer firstResult, Integer maxResults, Boolean enabled, Boolean briefRepresentation, Boolean exact, String searchQuery) Get users Returns a stream of users, filtered according to query parameters.RoleContainerResource.getUsersInRole
(String roleName, Boolean briefRepresentation, Integer firstResult, Integer maxResults) Returns a stream of users that have the specified role name.Methods in org.keycloak.services.resources.admin with parameters of type UserRepresentationModifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
UsersResource.createUser
(UserRepresentation rep) Create a new user Username must be unique.jakarta.ws.rs.core.Response
UserResource.updateUser
(UserRepresentation rep) Update the userstatic void
UserResource.updateUserFromRep
(UserProfile profile, UserModel user, UserRepresentation rep, KeycloakSession session, boolean isUpdateExistingUser) -
Uses of UserRepresentation in org.keycloak.storage
Methods in org.keycloak.storage with parameters of type UserRepresentationModifier and TypeMethodDescriptionExportImportManager.createUser
(RealmModel realm, UserRepresentation userRep) -
Uses of UserRepresentation in org.keycloak.storage.datastore
Methods in org.keycloak.storage.datastore with parameters of type UserRepresentationModifier and TypeMethodDescriptionstatic void
DefaultExportImportManager.convertDeprecatedSocialProviders
(UserRepresentation user) DefaultExportImportManager.createUser
(RealmModel newRealm, UserRepresentation userRep) static void
DefaultExportImportManager.importFederatedUser
(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep)
RoleResource.getUserMembers()