Share via


ProfileLoader Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ProfileLoader
'Usage
Dim instance As ProfileLoader
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ProfileLoader

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ProfileLoader Members

Microsoft.Office.Server.UserProfiles Namespace