public UserInfo getByName(String name) {
        Preconditions.expectNotBlank(name, ErrorCodeEnum.INVALID_PARAMETER, "username cannot be null");

        Response<UserInfo> response = ClientUtils.executeHttpCall(userApi.getByName(name));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Get user info by username

@param name username
@return user info
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/UserClient.java