使用 Active Directory 创建 Documentum 用户

发布于 2024-12-28 13:16:22 字数 93 浏览 1 评论 0原文

有没有什么方法可以让我们使用 Active Directory 信息以编程方式创建 Documentum 用户? (我对 ADT 知之甚少,只知道它存储用户信息仅此而已。)

Is there any way that we can programatically create a Documentum user by using Active Directory information? (I have very little knowledge on ADT and know that it stores user info thats all.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

拥有 2025-01-04 13:16:22

在 Documentum Administrator 中,您可以通过运行作业 dm_LDAPSynchronization 来同步 ActiveDirectory 用户。这应该可以。

希望这有帮助,
最大


编辑:您还可以使用 DFC 方法创建用户:

IDfUser newUser = (IDfUser) session.newObject("dm_user");

newUser.setUserName("New User");
newUser.setUserLoginName("newuser");

newUser.setString("user_source","inline password");
newUser.setString("user_password","new_password");

newUser.setDefaultFolder("/newuser",true);

newUser.save();

您可以选择 LDAP 并删除 user_password,而不是将 inline_password 作为 user_source。这很可能需要更多信息,但我目前没有 DFC 文档。我可以在晚上查一下,但现在这应该给你一个很好的起点。

您还可以从中创建一个服务器方法并将其分配给自定义作业。

但是:我不认为您可以从 Documentum 创建新的 LDAP 用户...当您将它们导入 Documentum 时,它们需要存在于 ActiveDirectory 中!

干杯,
最大限度

In Documentum Administrator you can sync the ActiveDirectory Users by running the Job dm_LDAPSynchronization. This should do.

Hope this helps,
Max


edit: You can also create a User using DFC-Methods:

IDfUser newUser = (IDfUser) session.newObject("dm_user");

newUser.setUserName("New User");
newUser.setUserLoginName("newuser");

newUser.setString("user_source","inline password");
newUser.setString("user_password","new_password");

newUser.setDefaultFolder("/newuser",true);

newUser.save();

Instead of putting inline_password as the user_source, you probably can choose LDAP and remove the user_password. This most probably needs more information, but I don't have the DFC Documentation with me at the moment. I could look it up in the evening, but for now this should give you a good point to start.

You could also make a Server Method out of it and assign it to a custom Job.

BUT: I don't think that you can CREATE new LDAP-Users from Documentum...they need to be present in the ActiveDirectory when you import them into Documentum!

Cheers,
Max

静谧幽蓝 2025-01-04 13:16:22

您可以通过 DA 配置 LDAP 并设置所有连接信息、用户 ID 密码,然后配置 ldapsync 作业来执行此操作,每当将新用户添加到 ldap 时,该作业都会将其导入到 documentum 中,并且如果用户被删除,它将被停用来自 LDAP。

这是避免任何编程的最好方法。

You can configure LDAP through DA and set all the connection info, user id password and than configure the ldapsync job to do this ,whenever a new user is added into ldap,it will be imported into documentum by that job and deactivated if user is removed from ldap.

Thats the best way to avoid any programming .

婴鹅 2025-01-04 13:16:22

LDAP 同步是相当有限且短视的。您可以为用户连接两个 LDAP 属性,如下所示:${sn}_${givenname}@company.com。您还可以从左开始到给定数字进行子串。就是这样。不再。我想知道他们为什么烦恼。

一个合适的解决方案是对表达式语言进行标准化——从 XQuery 到 RegEx。有很多可供选择。

The LDAP synchronization is quite limited and shortsighted. You can concatenate two LDAP attributes for a user like this : ${sn}_${givenname}@company.com. You can also substring, starting from left to a given number. Thats it. No more. I wonder why they bothered.

A proper solution would have been standarsing on a expression language - all from XQuery to RegEx. There are lots to choose from.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文