Update Users
The example-2 script authenticates an Integration Service client to manage Identities using the Admin identity created in example-0 and then performs the following tasks:
- Searches for a user.
- Updates said user's username.
You can run the example with the following command:
- Java
- Node.js
Search for a User
You can search for a user by the username
field with the following script:
- Java
- Nodejs
// Search for identities with username 'User' in it
List<IdentityInternal> identities = client.search(null, "User", null, null, null);
// Search for identities with username 'User' in it
const search: searchCriteria = { username: 'User' };
const identities = await identity.search(search);