ProfileLoader ProfileLoader ProfileLoader Class

Definition

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

public ref class ProfileLoader
[Microsoft.SharePoint.Client.ClientCallableType(ServerTypeId="9c42543a-91b3-4902-b2fe-14ccdefb6e2b")]
public class ProfileLoader
Public Class ProfileLoader
Inheritance
ProfileLoaderProfileLoaderProfileLoader
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute

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.

Methods

GetProfileLoader() GetProfileLoader() GetProfileLoader()

Gets a ProfileLoader object from the context cache.

GetProfileLoader(ServerContext) GetProfileLoader(ServerContext) GetProfileLoader(ServerContext)

Gets a ProfileLoader object from the context cache.

GetProfileLoader(SPServiceContext) GetProfileLoader(SPServiceContext) GetProfileLoader(SPServiceContext)
GetProfileLoader(Boolean) GetProfileLoader(Boolean) GetProfileLoader(Boolean)

Gets a ProfileLoader object from the context cache.

GetProfileLoader(ServerContext, Boolean) GetProfileLoader(ServerContext, Boolean) GetProfileLoader(ServerContext, Boolean)

Gets a ProfileLoader object from the context cache.

GetProfileLoader(SPServiceContext, Boolean) GetProfileLoader(SPServiceContext, Boolean) GetProfileLoader(SPServiceContext, Boolean)
GetUserProfile() GetUserProfile() GetUserProfile()

Gets a UserProfile object corresponding to the current user.

GetUserProfileManager() GetUserProfileManager() GetUserProfileManager()

Gets a UserProfileManager object.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to