ProfileLoader class

Provides an alternate entry point to user profiles rather than calling methods directly.

Inheritance hierarchy


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

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


ProfileLoader members

Microsoft.Office.Server.UserProfiles namespace