public interface UsersCallback
| Modifier and Type | Method and Description |
|---|---|
User |
createUser(User user)
Creates a user with the provided attributes.
|
void |
deleteUser(String userId)
Deletes the user with the specified userId.
|
Optional<String> |
generateId()
Generates a user id for a new user
|
User |
getUser(String userId) |
default User |
getUser(String userId,
RequestedResourceAttributes additionalAttributes) |
User |
getUserByUsername(String userName) |
PagedResult<User> |
getUsers(PageInfo pageInfo,
String filter)
Returns a page of users (limited by
SCIMConfigurationCallback.getMaxResourcesPerPage()),
taking into account the specified filter and paging parameters. |
default PagedResult<User> |
getUsers(PageInfo pageInfo,
String filter,
RequestedResourceAttributes additionalAttributes)
Returns a page of users (more info in
getUsers(PageInfo, String) ()}
adding specifying additional attributes to be returned of excluded from the response |
void |
patchUser(String userId,
PatchBody patchBody,
Meta userMeta)
Updates a user with the provided attributes.
|
User |
updateUser(User user)
+
Updates a user with the provided attributes.
|
User getUserByUsername(String userName)
userName, - unique usernameUser getUser(String userId)
userId, - unique user iddefault User getUser(String userId, RequestedResourceAttributes additionalAttributes)
additionalAttributes - additional attributes to be returned of excluded from the responsePagedResult<User> getUsers(PageInfo pageInfo, String filter)
SCIMConfigurationCallback.getMaxResourcesPerPage()),
taking into account the specified filter and paging parameters.pageInfo - parsed paging parameters from the API requestfilter - unparsed filter string from the $filter query parameterdefault PagedResult<User> getUsers(PageInfo pageInfo, String filter, RequestedResourceAttributes additionalAttributes)
getUsers(PageInfo, String) ()}
adding specifying additional attributes to be returned of excluded from the responseadditionalAttributes - additional attributes to be returned of excluded from the responseUser createUser(User user)
user - User updateUser(User user)
user - void patchUser(String userId, PatchBody patchBody, Meta userMeta)
userId - patchBody - userMeta - void deleteUser(String userId)
userId - Copyright © 2022 SAP SE. All rights reserved.