ProfileLoader class

Provides an alternate entry point to user profiles rather than 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)

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

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