简体   繁体   English

如何使用Interop.Domino访问其他人的邮箱(例如,组邮箱)

[英]How to access other person's mailbox ( for eg. Group mailbox) using Interop.Domino

We are successfully able to download an attachment from the particular mail in Lotus Notes using Interop.Domino for the logged in user. 我们可以为登录用户使用Interop.Domino从Lotus Notes中的特定邮件中成功下载附件。

But we are trying to access other person's mailbox( eg. group mailbox) from the user who is logged in. User has access to other person's mailbox. 但是,我们试图从已登录的用户访问其他人的邮箱(例如,组邮箱)。该用户可以访问其他人的邮箱。

In above case, we have MailServer and MailFile name but not sure how to use it without having the ID file. 在上述情况下,我们具有MailServer和MailFile名称,但不确定在没有ID文件的情况下如何使用它。

Any pointers would be really helpful. 任何指针将非常有帮助。 Thanks in advance. 提前致谢。

You don't need to change the user ID if the current user ID has access to the other mailboxes. 如果当前用户ID可以访问其他邮箱,则无需更改用户ID。 You can check this in Notes Client in the database's Access Control List. 您可以在Notes客户端的数据库访问控制列表中进行检查。 You get connected with a (mail-)database with 您通过以下方式连接到(邮件)数据库

NotesSession.GetDatabase( "MailServer", "MailFile.nsf", false ) 

In general: with the Notes user ID you log in you get access to all databases and servers in Notes/Domino with the permissions set for this ID in Domino Directory or database's Access Control Lists. 通常,使用Notes用户ID登录时,您就可以访问Notes / Domino中的所有数据库和服务器,并具有在Domino目录或数据库的访问控制列表中为此ID设置的权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM