Get a user's all black list

@param username The owner of the black list
@return UserList
@throws APIConnectionException connect exception
@throws APIRequestException    request exception
194834
public UserInfoResult[] getBlackList(String username)
            throws APIConnectionException, APIRequestException {
        StringUtils.checkUsername(username);
        ResponseWrapper response = _httpClient.sendGet(_baseUrl + userPath + "/" + username + "/blacklist");
        return _gson.fromJson(response.responseContent, UserInfoResult[].class);
    }
683050
public UserPagination list(String nextOpenId){
        String url = WxEndpoint.get("url.blacklist.list");
        Map<String, Object> body = new HashMap<>();
        body.put("begin_openid", nextOpenId);
        logger.debug("list all black list: {}", nextOpenId);
        String response = wxClient.post(url, JsonMapper.defaultMapper().toJson(body));
        return JsonMapper.defaultMapper().fromJson(response, UserPagination.class);
    }
42671
public UserInfo getUserInfo(String username) throws Exception {
        DirContext dir = context();
        ArrayList roleList = new ArrayList(getUserRoles(username));
        String credentials = getUserCredentials(username);
        return new UserInfo(username, Credential.getCredential(credentials), roleList);

    }
596028
public ResponseWrapper forbidUser(String username, boolean disable)
            throws APIConnectionException, APIRequestException {
        StringUtils.checkUsername(username);
        return _httpClient.sendPut(_baseUrl + userPath + "/" + username + "/forbidden?disable=" + disable, null);
    }
211061
public User getUser(String name){
        ProtocolHeader header = new ProtocolHeader();
        header.setType(ProtocolType.GetUser);

        GetUserProtocol p = new GetUserProtocol(name);

        Response resp = connection.submitRequest(header, p, null);
        return ((GetUserResponse) resp).getUser();
    }
725760
public DUser findByUsername(java.lang.String username) {
    return queryUniqueByField(null, DUserMapper.Field.USERNAME.getFieldName(), username);
  }
954962
public static systemuser get(nitro_service service, String username) throws Exception{
		systemuser obj = new systemuser();
		obj.set_username(username);
		systemuser response = (systemuser) obj.get_resource(service);
		return response;
	}
371913
public List<Permission> getUserPermission(String userName) {
        ACL acl = getServiceDirectoryClient().getACL(AuthScheme.DIRECTORY, userName);

        int permissionId = 0;
        if(acl != null){
            permissionId = acl.getPermission();
        }
        return PermissionUtil.id2Permissions(permissionId);
    }
1329029
public com.google.api.ads.adwords.axis.v201809.rm.UserList[] getUserLists() {
        return userLists;
    }
359278
public ResponseWrapper addBlackList(String username, String...users)
            throws APIConnectionException, APIRequestException {
        return _userClient.addBlackList(username, users);
    }
187570
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException {
        return getSecurityComponents().userDetails.loadUserByUsername(username);
    }
225739
public java.util.List<UserDetail> getUserDetailList() {
        if (userDetailList == null) {
            userDetailList = new com.amazonaws.internal.SdkInternalList<UserDetail>();
        }
        return userDetailList;
    }
428673
protected User getUser(String username) {
    Integer id = userIds().get(username.toLowerCase());
    if (id == null) {
      throw new IllegalStateException(format("Could not find ID corresponding to username [%s]", username));
    }

    return getUser(id);
  }
1101629
@Override
    public ResponseList<UserList> getUserLists(String listOwnerScreenName) throws TwitterException {
        return getUserLists(listOwnerScreenName, false);
    }
477322
@RequestMapping(value = "/findByUsername", method = RequestMethod.GET)
	public @ResponseBody
	ResponseAccount findByUsername(
			@RequestParam(value = "username", required = true) String username) {
		logger.debug("Received request to get account by username");

		ResponseAccount acconut = accountService.getAccountByUsername(username);

		return acconut;

	}
367485
public static systemuser_binding get(nitro_service service, String username) throws Exception{
		systemuser_binding obj = new systemuser_binding();
		obj.set_username(username);
		systemuser_binding response = (systemuser_binding) obj.get_resource(service);
		return response;
	}
1137303
public static aaauser_intranetip_binding[] get(nitro_service service, String username) throws Exception{
		aaauser_intranetip_binding obj = new aaauser_intranetip_binding();
		obj.set_username(username);
		aaauser_intranetip_binding response[] = (aaauser_intranetip_binding[]) obj.get_resources(service);
		return response;
	}