public class UsersClient extends AbstractClient
apiKey, BASE_URL, service| Constructor and Description |
|---|
UsersClient(String apiKey) |
UsersClient(String apiKey,
int connectionTimeout,
int readTimeout) |
| 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 UsersClient(String apiKey, int connectionTimeout, int readTimeout)
apiKey - your Asana API keyconnectionTimeout - the connection timeout in MILLISECONDSreadTimeout - the read timeout in MILLISECONDSpublic 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 © 2016. All rights reserved.