Using Impersonation and Single Sign-On to access corporate data from within a custom SharePoint web part
Wed 8 Mar 2006Bit of a mouthful, eh? That was the subject of my presentation earlier today to the Brisbane SharePoint User Group.
The presentation demonstrated the development of a custom SharePoint Portal Server web part. This created a graph based on dynamic corporate data. Because the typical portal user does not have permission to access this corporate data, the Single Sign-On service was used within the web part’s RenderWebPart method. SSO provided credentials (Username, Password and Domain) suitable for access to the corporate data.
The WindowsImpersonationContext.Impersonate method was then called with a new WindowsIdentity before accessing the data.
For more info, see the PowerPoint file and sample code available from the Fitzsimon IT Consulting website.

August 14th, 2009 at 2:30
Quite inspiring,
The WindowsImpersonationContext.Impersonate method was used with a new WindowsIdentity before accessing the data. and thats a great idea
Thanks