public class Users extends UsersDeprecated
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
getAuthenticationCredentials(java.lang.String contextid,
java.lang.String userid)
Gets the authentication credentials of the user with given ID that belongs to the context
with the given ID.
|
ApiResponse |
getAuthenticationCredentialsConfigParams(java.lang.String contextid)
Gets the configuration parameters for the credentials of the context with the given ID.
|
ApiResponse |
getUserById(java.lang.String contextid,
java.lang.String userid)
Gets the data of the user with the given ID that belongs to the context with the given ID.
|
ApiResponse |
newUser(java.lang.String contextid,
java.lang.String name)
Creates a new user with the given name for the context with the given ID.
|
ApiResponse |
removeUser(java.lang.String contextid,
java.lang.String userid)
Removes the user with the given ID that belongs to the context with the given ID.
|
ApiResponse |
setAuthenticationCredentials(java.lang.String contextid,
java.lang.String userid,
java.lang.String authcredentialsconfigparams)
Sets the authentication credentials for the user with the given ID that belongs to the
context with the given ID.
|
ApiResponse |
setUserEnabled(java.lang.String contextid,
java.lang.String userid,
java.lang.String enabled)
Sets whether or not the user, with the given ID that belongs to the context with the given
ID, should be enabled.
|
ApiResponse |
setUserName(java.lang.String contextid,
java.lang.String userid,
java.lang.String name)
Renames the user with the given ID that belongs to the context with the given ID.
|
ApiResponse |
usersList(java.lang.String contextid)
Gets a list of users that belong to the context with the given ID, or all users if none
provided.
|
newUser, removeUser, setAuthenticationCredentials, setUserEnabled, setUserNamepublic Users(ClientApi api)
public ApiResponse usersList(java.lang.String contextid) throws ClientApiException
ClientApiExceptionpublic ApiResponse getUserById(java.lang.String contextid, java.lang.String userid) throws ClientApiException
ClientApiExceptionpublic ApiResponse getAuthenticationCredentialsConfigParams(java.lang.String contextid) throws ClientApiException
ClientApiExceptionpublic ApiResponse getAuthenticationCredentials(java.lang.String contextid, java.lang.String userid) throws ClientApiException
ClientApiExceptionpublic ApiResponse newUser(java.lang.String contextid, java.lang.String name) throws ClientApiException
ClientApiExceptionpublic ApiResponse removeUser(java.lang.String contextid, java.lang.String userid) throws ClientApiException
ClientApiExceptionpublic ApiResponse setUserEnabled(java.lang.String contextid, java.lang.String userid, java.lang.String enabled) throws ClientApiException
ClientApiExceptionpublic ApiResponse setUserName(java.lang.String contextid, java.lang.String userid, java.lang.String name) throws ClientApiException
ClientApiExceptionpublic ApiResponse setAuthenticationCredentials(java.lang.String contextid, java.lang.String userid, java.lang.String authcredentialsconfigparams) throws ClientApiException
ClientApiException