user.authorize(new WriteRequest()) != null).append("\n");
sb.append("enableflag : ").append(user.getEnabled()).append("\n");
sb.append("idletime : ").append(user.getMaxIdleTime()).append(
"\n");
TransferRateRequest transferRateRequest = new TransferRateRequest();
transferRateRequest = (TransferRateRequest) session.getUser()
.authorize(transferRateRequest);
if (transferRateRequest != null) {
sb.append("uploadrate : ").append(
transferRateRequest.getMaxUploadRate()).append("\n");
sb.append("downloadrate : ").append(
transferRateRequest.getMaxDownloadRate()).append("\n");
} else {
sb.append("uploadrate : 0\n");
sb.append("downloadrate : 0\n");
}
sb.append('\n');