public class UserManagement
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SERVICE_NAME |
static String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
UserManagement(String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `UserManagement` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<UserProfile> |
getUserProfile(GetUserProfileOptions getUserProfileOptions)
Get user profile.
|
com.ibm.cloud.sdk.core.http.ServiceCall<UserSettings> |
getUserSettings(GetUserSettingsOptions getUserSettingsOptions)
Get user settings.
|
com.ibm.cloud.sdk.core.http.ServiceCall<InvitedUserList> |
inviteUsers(InviteUsersOptions inviteUsersOptions)
Invite users to an account.
|
com.ibm.cloud.sdk.core.http.ServiceCall<UserList> |
listUsers(ListUsersOptions listUsersOptions)
List users.
|
static UserManagement |
newInstance()
Class method which constructs an instance of the `UserManagement` client.
|
static UserManagement |
newInstance(String serviceName)
Class method which constructs an instance of the `UserManagement` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
removeUser(RemoveUserOptions removeUserOptions)
Remove user from account.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
updateUserProfile(UpdateUserProfileOptions updateUserProfileOptions)
Partially update user profile.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
updateUserSettings(UpdateUserSettingsOptions updateUserSettingsOptions)
Partially update user settings.
|
public static final String DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_URL
public UserManagement(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static UserManagement newInstance()
public static UserManagement newInstance(String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<UserList> listUsers(ListUsersOptions listUsersOptions)
listUsersOptions - the ListUsersOptions containing the options for the callServiceCall with a result of type UserListpublic com.ibm.cloud.sdk.core.http.ServiceCall<InvitedUserList> inviteUsers(InviteUsersOptions inviteUsersOptions)
inviteUsersOptions - the InviteUsersOptions containing the options for the callServiceCall with a result of type InvitedUserListpublic com.ibm.cloud.sdk.core.http.ServiceCall<UserProfile> getUserProfile(GetUserProfileOptions getUserProfileOptions)
getUserProfileOptions - the GetUserProfileOptions containing the options for the callServiceCall with a result of type UserProfilepublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> updateUserProfile(UpdateUserProfileOptions updateUserProfileOptions)
updateUserProfileOptions - the UpdateUserProfileOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> removeUser(RemoveUserOptions removeUserOptions)
removeUserOptions - the RemoveUserOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<UserSettings> getUserSettings(GetUserSettingsOptions getUserSettingsOptions)
getUserSettingsOptions - the GetUserSettingsOptions containing the options for the callServiceCall with a result of type UserSettingspublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> updateUserSettings(UpdateUserSettingsOptions updateUserSettingsOptions)
updateUserSettingsOptions - the UpdateUserSettingsOptions containing the options for the callServiceCall with a void resultCopyright © 2021 IBM Cloud Platform Services. All rights reserved.