标签: documentum-dfs

DQL查询以查找活跃用户数

有人可以建议我进行DQL查询,以找到Documentum中存储库中的活动用户数。

以下是我正在使用的查询,但没有给出正确的结果,有人可以建议吗?

select count(user_name) from dm_user u , dm_group g  where any g.i_all_users_names = u.user_name and  u.user_state=0
Run Code Online (Sandbox Code Playgroud)

documentum documentum6.5 documentum-dfs documentum-dql

3
推荐指数
1
解决办法
3731
查看次数

替代dfc.properties

我们从Java progream(使用dfc.jar)连接到documentum服务器来提取文档.为了连接到服务器,它要求我们在类路径中提供dfc.properties.我们已经有一个主属性文件,所以要避免再有一个.相反,我们希望将属性放在其他属性文件中,然后在连接到documentum服务器时使用它们.我可以找到如何使用来自Java代码的docbroker主机和端口,即使用IDfTypedObject.

IDfLoginInfo loginInfoObj = clientX.getLoginInfo();
loginInfoObj.setUser(user);
loginInfoObj.setPassword(pwd);

IDfClient client = new DfClient();

IDfTypedObject cfg = client.getClientConfig();
cfg.setString("primary_host", "myhost");
cfg.setInt("primary_port", myport);

IDfSession docbase_session = client.newSession(docbase, loginInfoObj);
Run Code Online (Sandbox Code Playgroud)

就像在代码中设置primary_host和primary_port一样,有没有办法设置代码,dfc.properties中的以下属性?dfc.globalregistry.repository dfc.globalregistry.username dfc.globalregistry.password

documentum documentum-dfs

3
推荐指数
1
解决办法
5671
查看次数