Using Impersonation and Single Sign-On to access corporate data from within a custom SharePoint web part

Wed 8 Mar 2006

Bit 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.

One Response to “Using Impersonation and Single Sign-On to access corporate data from within a custom SharePoint web part”

  1. geeks Says:

    Quite inspiring,

    The WindowsImpersonationContext.Impersonate method was used with a new WindowsIdentity before accessing the data. and thats a great idea

    Thanks

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Comment moderation is in use. Please do not submit your comment twice -- it will appear shortly.