| Package | Description |
|---|---|
| com.okta.sdk.client | |
| com.okta.sdk.resource.user |
| Modifier and Type | Method and Description |
|---|---|
User |
Client.createUser(CreateUserRequest body)
Create User
Creates a new user in your Okta organization with or without credentials.
|
User |
Client.createUser(CreateUserRequest body,
Boolean activate,
Boolean provider,
UserNextLogin nextLogin)
Create User
Creates a new user in your Okta organization with or without credentials.
|
User |
Client.getUser(String userId)
Get User
Fetches a user from your Okta organization.
|
User |
Client.partialUpdateUser(User user,
String userId)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
User |
Client.partialUpdateUser(User user,
String userId,
Boolean strict)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
| Modifier and Type | Method and Description |
|---|---|
User |
Client.partialUpdateUser(User user,
String userId)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
User |
Client.partialUpdateUser(User user,
String userId,
Boolean strict)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserBuilder.buildAndCreate(Client client) |
User |
User.expirePassword()
Expire Password
This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.
|
User |
User.setCredentials(UserCredentials credentials) |
User |
User.setProfile(UserProfile profile) |
User |
User.setType(UserType type) |
User |
User.update()
Update User
Update a user's profile and/or credentials using strict-update semantics.
|
User |
User.update(Boolean strict)
Update User
Update a user's profile and/or credentials using strict-update semantics.
|
Copyright © 2017–2023 Okta. All rights reserved.