Skip to main content
 首页 » 编程设计

sharepoint之如何在 sharepoint 2010 中自动登录 owa web part

2024年12月31日17cmt

我正在做这样的事情 sync e-mail outlook2010 and sharepoint2010我正在寻找一种使用已登录的 sharepoint 用户自动登录 sharepoint 2010 中的 Outlook Web 部件的方法是否可以在 C# 中实现.. 我想摆脱 kerberos 身份验证并配置交换服务器和其他类似的,但没有用。
有什么建议?

请您参考如下方法:

登录凭据是否与 Windows 相同?如果是这样,您是否正确配置了浏览器?见 browser setup for auto login

要登录,请尝试以下操作,从 OWAInboxPart 继承并在 OnInit 中使用当前用户创建邮箱名称,对于某些简单的问号似乎有效:

public class MyInbox : Microsoft.SharePoint.Portal.WebControls.OWAInboxPart 
{ 
    protected override void OnInit(object sender, EventArgs e) 
    { 
        this.MailboxName = ?; 
        base.OnInit (sender, e); 
    } 
} 

this discussion of how to get the mailbox for the current user .