I am working on something like this sync e-mail outlook2010 and sharepoint2010 I am looking for a way to log in outlook web parts in sharepoint 2010 automatically using logged in sharepoint user is it possible in C#.. i want to get away from kerberos authentication and configuring exchange server I've tried this one Get Current User Inbox and other similar ones but it didn't work. any suggestions?
To create the visual web part. Start SharePoint Designer 2010 by clicking Start Menu, then click All Programs, click Microsoft Office, and then click Microsoft SharePoint Designer 2010. Click the Open Site button and in the Open Site dialog window, type the URL of the local Web site (such as http://localhost/SampleWebPartSite) in the Site Name box.
To do this, follow these steps: 1 Open the page that contains the virtual List Web Part in Microsoft SharePoint Designer 2010. 2 Click Edit file. 3 Click the Web part. 4 On the Options tab, click to select the Asynchronous Update check box. 5 Click the Refresh Interval drop-down list, select an interval, and then save the settings.
Start SharePoint Designer 2010 by clicking Start Menu, then click All Programs, click Microsoft Office, and then click Microsoft SharePoint Designer 2010. Click the Open Site button and in the Open Site dialog window, type the URL of the local Web site (such as https://localhost/SampleWebPartSite) in the Site Name box.
To do this, follow these steps: Open the page that contains the virtual List Web Part in Microsoft SharePoint Designer 2010. Click Edit file. Click the Web part. On the Options tab, click to select the Asynchronous Update check box. Click the Refresh Interval drop-down list, select an interval, and then save the settings.
Are the login credentials the same as for windows? If so, have you configured the browser correctly? See browser setup for auto login
To login try the following, inherit from OWAInboxPart and in OnInit create the mailbox name using the current user, for some a simple question mark seems to work:
public class MyInbox : Microsoft.SharePoint.Portal.WebControls.OWAInboxPart
{
protected override void OnInit(object sender, EventArgs e)
{
this.MailboxName = ?;
base.OnInit (sender, e);
}
}
Look at this discussion of how to get the mailbox for the current user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With