[英]How to get Lotus Notes Password (on local machine) using “Interop.Domino.dll” (C#)?
I am making one application where i am reading mails from Lotus Notes. 我正在制作一个应用程序,用于读取Lotus Notes的邮件。 I have made this application interdependent of Domino Server.
我已经使该应用程序与Domino服务器相互依赖。
But in this case.If user's Lotus Notes's is configured with Domino server.It shows pop-up for password. 但是在这种情况下,如果用户的Lotus Notes的服务器配置了Domino服务器,则会显示弹出的密码对话框。
I don't want to show pop-up.And don't want to add text box into UI. 我不想显示弹出窗口,也不想在UI中添加文本框。
Is there anyway to get NSF Password Programaticaly? 无论如何,有没有获得NSF密码编程的资格? Using Domino.dll.
使用Domino.dll。
I don't think there is a API function to retrieve a Domino password. 我认为没有API函数可以检索Domino密码。
There is an API function to RESET the password, but the old password is a parameter. 有一个API函数可以重置密码,但是旧密码是一个参数。
Shaun 肖恩
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.
密码未存储在任何地方,但用于获得对RSA私钥的访问,而RSA私钥实际上是在进行认证。 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...".
听起来好像您要转到服务器上的邮件文件,但是...“如果用户的Lotus Notes邮件配置了Domino服务器...”。 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.
如果它是加密的,或者您需要访问服务器,那么用户绝对将需要进行身份验证。
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. 如果这是在客户端工作站上运行的应用程序,并且用户在该工作站上运行Notes客户端,则可以“共享”密码,因此您的应用程序不需要提示用户。 This is an option, enabled from the Notes client.
这是一个从Notes客户端启用的选项。 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."
在R8中,此选项位于“文件”>“安全性”>“用户安全性”下,然后在“安全性基本”选项卡下,有一个复选框,标记为“不提示您从其他基于Notes的程序输入密码”。 (In R7 and earlier, its under a similar menu item, I think labeled just "User ID.")
(在R7和更早的版本中,它在一个相似的菜单项下,我认为只是标记为“用户ID”。)
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 从帮助路径:IBM Domino Designer基本用户指南和参考> LotusScript / COM / OLE类> LotusScript类编码准则>通过COM访问Domino对象
Call session.InitializeUsingNotesUserName("name", "passwordOptional") 调用session.InitializeUsingNotesUserName(“ name”,“ passwordOptional”)
This is after you set session to a newly-created Lotus.NotesSession object. 这是在将会话设置为新创建的Lotus.NotesSession对象之后。
(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.) (将密码用于解锁ID后,您无法从Domino API获取用户密码。但是,可以从用户获取密码,然后通过Interop将其提交给Domino。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.