ontology - 如何在 WebProtege 4.0 中列出用户?
问题描述
如 WebProtege github 页面所述,我正在从 docker 图像中运行带有 WebProtege 4.0.0 的服务器。
现在我想访问所有用户的列表,我该怎么做呢?
到目前为止,我发现的最好的事情是尝试共享一个项目,分别输入所有字母并写下出现的名称。
解决方案
我不确定这是否是最好的方法,但我连接到数据库并以这种方式提取用户。
docker exec -it webprotege_wpmongo_1 bash # connect to docker containers shell.
mongo # connect to mongodb shell
use webprotege # connect to specific database
db.Users.find().toArray() # find and show all users.
推荐阅读
- python - 编译 Python 程序以进行分发
- java - 将用户输入多次存储在数组中
- php - 如何使 .htaccess 严格接受参数
- recursion - 在 F# 中创建随机数时如何避免特定数字?
- mysql - 在没有主机的情况下将 mysql 凭据存储在 my.cnf 中
- c# - 当他们有 Class 时,如何更改 UserControl 中使用的标签中的文本?
- php - mt_rand 什么时候播种?
- django - 使用 Client.get() 请求测试内置的`contrib.auth.login`
- javascript - Vue JS:如何在 Vue js 中创建表以从 json api 检索数据。
- cordova - Android 无法构建 - 找不到 com.android.tools:common:25.5.0-alpha-preview-02