ProfileLoader.GetProfileLoader ProfileLoader.GetProfileLoader ProfileLoader.GetProfileLoader Method

Definition

Overloads

GetProfileLoader() GetProfileLoader() GetProfileLoader()

Gets a ProfileLoader object from the context cache.

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)

Gets a ProfileLoader object from the context cache.

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

GetProfileLoader() GetProfileLoader() GetProfileLoader()

Gets a ProfileLoader object from the context cache.

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader();
[Microsoft.SharePoint.Client.ClientCallable]
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader ();
Public Shared Function GetProfileLoader () As ProfileLoader
Returns

Remarks

Use the GetProfileLoader() method if you are writing code for the web. The GetProfileLoader() method uses the default server context (the server context of the portal that you are currently browsing).

GetProfileLoader(ServerContext) GetProfileLoader(ServerContext)

Warning

This API is now obsolete.

Gets a ProfileLoader object from the context cache.

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader(Microsoft::Office::Server::ServerContext ^ serverContext);
[System.Obsolete("ServerContext parameter is obsolete, use SPServiceContext instead.")]
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader (Microsoft.Office.Server.ServerContext serverContext);
Parameters
serverContext
Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext

The server context that contains the source or destination contextual information.

Returns

Remarks

Use the GetProfileLoader() method if you are writing code for the web. The GetProfileLoader() method uses the default server context (the server context of the portal that you are currently browsing).

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

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader(Microsoft::SharePoint::SPServiceContext ^ serviceContext);
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader (Microsoft.SharePoint.SPServiceContext serviceContext);
Public Shared Function GetProfileLoader (serviceContext As SPServiceContext) As ProfileLoader
Parameters
Returns

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

Gets a ProfileLoader object from the context cache.

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader(bool IgnoreUserPrivacy);
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader (bool IgnoreUserPrivacy);
Public Shared Function GetProfileLoader (IgnoreUserPrivacy As Boolean) As ProfileLoader
Parameters
IgnoreUserPrivacy
Boolean Boolean Boolean

Set to true to ignore the user privacy setting; otherwise, false.

Returns

Remarks

Use the GetProfileLoader() method if you are writing code for the web. The GetProfileLoader()method uses the default server context (the server context of the portal that you are currently browsing).

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

Warning

This API is now obsolete.

Gets a ProfileLoader object from the context cache.

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader(Microsoft::Office::Server::ServerContext ^ serverContext, bool IgnoreUserPrivacy);
[System.Obsolete("ServerContext parameter is obsolete, use SPServiceContext instead.")]
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader (Microsoft.Office.Server.ServerContext serverContext, bool IgnoreUserPrivacy);
Parameters
serverContext
Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext

The server context that contains the source or destination contextual information.

IgnoreUserPrivacy
Boolean Boolean Boolean

Set to true to ignore user privacy setting; otherwise, false.

Returns

Remarks

Use the GetProfileLoader() method if you are writing code for the web. The GetProfileLoader() method uses the default server context (the server context of the portal that you are currently browsing).

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

public:
 static Microsoft::Office::Server::UserProfiles::ProfileLoader ^ GetProfileLoader(Microsoft::SharePoint::SPServiceContext ^ serviceContext, bool IgnoreUserPrivacy);
public static Microsoft.Office.Server.UserProfiles.ProfileLoader GetProfileLoader (Microsoft.SharePoint.SPServiceContext serviceContext, bool IgnoreUserPrivacy);
Public Shared Function GetProfileLoader (serviceContext As SPServiceContext, IgnoreUserPrivacy As Boolean) As ProfileLoader
Parameters
IgnoreUserPrivacy
Boolean Boolean Boolean
Returns

Applies to