Search in sources :

Example 1 with TDUserList

use of com.treasuredata.client.model.TDUserList in project td-client-java by treasure-data.

the class TestTDClient method listUsers.

@Test
public void listUsers() throws Exception {
    TDUserList userList = client.listUsers();
    for (TDUser user : userList.getUsers()) {
        logger.trace("user: {}", user);
    }
    logger.trace("{} user(s)", userList.getUsers().size());
}
Also used : TDUserList(com.treasuredata.client.model.TDUserList) TDUser(com.treasuredata.client.model.TDUser) Test(org.junit.Test)

Aggregations

TDUser (com.treasuredata.client.model.TDUser)1 TDUserList (com.treasuredata.client.model.TDUserList)1 Test (org.junit.Test)1