如何使用“Interop.Domino.dll”获取 Lotus Notes 密码(在本地计算机上) (C#)?

发布于 2024-08-10 08:13:15 字数 205 浏览 12 评论 0原文

我正在制作一个应用程序,用于从 Lotus Notes 阅读邮件。 我已使该应用程序与 Domino 服务器相互依赖。

但在这种情况下。如果用户的 Lotus Notes 配置了 Domino 服务器。它会显示密码弹出窗口。

我不想显示弹出窗口。并且不想将文本框添加到用户界面中。

有没有办法以编程方式获取 NSF 密码?使用Domino.dll。

I am making one application where i am reading mails from Lotus Notes.
I have made this application interdependent of Domino Server.

But in this case.If user's Lotus Notes's is configured with Domino server.It shows pop-up for password.

I don't want to show pop-up.And don't want to add text box into UI.

Is there anyway to get NSF Password Programaticaly? Using Domino.dll.

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

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

发布评论

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

评论(4

夜空下最亮的亮点 2024-08-17 08:13:16

当然你不能这样做。密码不会存储在任何地方,而是用于访问 RSA 私钥,这实际上是进行身份验证的。听起来好像您要访问服务器上的邮件文件,但是...“如果用户的 Lotus Notes 配置了 Domino 服务器...”。如果存在未加密的邮件文件的本地副本,您不需要进行身份验证即可访问它。如果是加密的,或者需要访问服务器,那么用户绝对需要进行身份验证。

Of course you can't do this. The password is not stored anywhere, but is used to gain access to the RSA private key which is what actually does the authentication. It sounds as though you are going to the mail file on the server, though..."If user's Lotus Notes's is configured with Domino server...". If there is a local replica of the mail file that is not encrypted you should not need to authenticate to access it. If it is encrypted, or you need to access the server, then the user absolutely will need to authenticate.

失退 2024-08-17 08:13:16

如果这是在客户端工作站上运行的应用程序,并且用户在该工作站上运行 Notes 客户端,则可以“共享”密码,以便应用程序不需要提示用户。这是一个从 Notes 客户端启用的选项。在 R8 中,此选项位于“文件”>“文件”下。安全>用户安全,然后在“安全基础”选项卡下,有一个标记为“不提示从其他基于 Notes 的程序输入密码”的复选框。 (在 R7 及更早版本中,它位于类似的菜单项下,我认为仅标记为“用户 ID”。)

If this is an application which runs on a client workstation, and the user has the Notes client running on that workstation, it is possible to "share" the password, so that your application does not need to prompt the user. This is an option, enabled from the Notes client. In R8, this option is under File > Security > User Security, and then under the Security Basics tab, there is a check box labeled "Don't prompt for a password from other Notes based programs." (In R7 and earlier, its under a similar menu item, I think labeled just "User ID.")

Saygoodbye 2024-08-17 08:13:16

从帮助路径:IBM Domino Designer 基本用户指南和参考> LotusScript/COM/OLE 类 > LotusScript 类编码指南 >通过 COM 访问 Domino 对象

调用 session.InitializeUsingNotesUserName("name", "passwordOptional")

这是在将会话设置为新创建的 Lotus.NotesSession 对象之后的操作。

(在使用 Domino API 解锁 ID 后,您无法从 Domino API 获取用户密码。但是,您可以从用户处获取密码,然后通过 Interop 将其提交给 Domino。)

From the Help path: IBM Domino Designer Basic User Guide and Reference > LotusScript/COM/OLE Classes > LotusScript Classes Coding Guidelines > Accessing the Domino Objects through COM

Call session.InitializeUsingNotesUserName("name", "passwordOptional")

This is after you set session to a newly-created Lotus.NotesSession object.

(You cannot get the user password from the Domino API after it's been used to unlock the ID. You can, however, get the password from the user and then submit it to Domino through the Interop.)

故事未完 2024-08-17 08:13:15

我认为没有 API 函数可以检索 Domino 密码。

有一个API函数可以重置密码,但旧密码是一个参数。

肖恩

I don't think there is a API function to retrieve a Domino password.

There is an API function to RESET the password, but the old password is a parameter.

Shaun

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