Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2010 product release

Other versions are also available for the following:
ProfileLoader Class

Provides an alternate entry point to user profiles, instead of calling methods directly.

System..::.Object
  Microsoft.Office.Server.UserProfiles..::.ProfileLoader

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ProfileLoader
Visual Basic (Usage)
Dim instance As ProfileLoader
C#
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ProfileLoader

This class is intended to be used from within a Web context, where multiple Web Parts can share a single user profile object.

Using a ProfileLoader object depends on you using the Web. If your application is on the Web, the ProfileLoader object attempts to use a Web cache and a server context. If your application is not on the Web, you must specify the server context. A server context identifies the Shared Services Provider (SSP) to use. For more information about SSP, see Office SharePoint Server 2007: Applications and Services.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker