Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to auto login owa web part in sharepoint 2010

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?

like image 815
Mohamed Rozza Avatar asked Apr 17 '13 09:04

Mohamed Rozza


People also ask

How to create a visual web part in SharePoint 2010?

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.

How to enable automatic updates in SharePoint 2010 list web part?

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.

How do I create a SharePoint site in SharePoint 2010?

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.

How do I refresh the list web part in SharePoint 2010?

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.


1 Answers

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.

like image 90
Paul Zahra Avatar answered Oct 22 '22 09:10

Paul Zahra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!