public class UsersClient extends AbstractClient
apiKey, BASE_URL, service| Constructor and Description |
|---|
UsersClient(String apiKey) |
| Modifier and Type | Method and Description |
|---|---|
User |
getMe()
Retrieve the user associated with the api key currently in use
|
User |
getUser(long userId)
Retrieve a specific user
|
User |
getUser(String userId)
Retrieve a specific user
|
Users |
getUsers()
Retrieve all users in all workspaces visible to the user associated with the api key currently in use
|
public UsersClient(String apiKey)
public User getUser(long userId)
userId - the id of the user to be retrievedpublic User getUser(String userId)
userId - the id of the user to be retrievedpublic User getMe()
public Users getUsers()
Copyright © 2015. All rights reserved.