Provides an alternate entry point to user profiles, instead of calling methods directly.
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _ <SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _ Public Class ProfileLoader
Dim instance As ProfileLoader
[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.