共用方式為


ProfilePropertyLoader Members

Include Protected Members
Include Inherited Members

Loads the specified user's profile and profile data based on the query string on the current page.

The ProfilePropertyLoader type exposes the following members.

Constructors

  Name Description
Public method ProfilePropertyLoader Initializes a new instance of the ProfilePropertyLoader class.

Top

Properties

  Name Description
Public property Autodetect Sets a value that indicates whether the profile type will be detected automatically.
Public property CommonColleagues Gets the profiles of the user's common colleagues.
Public property CommonManager Gets the profile of the user's manager.
Public property CommonMemberships Gets the user's common memberships.
Public property EncodedErrorText Gets or sets the encoded text that is sent to the web browser for display. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Public property ErrorText Gets or sets the text that is sent to the web browser for display. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Public property ErrorTextLocId Sets the ErrorText property to the string resource specified by the ErrorTextLocId value. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Public property ErrorTextLocIdNum Sets the ErrorText property to the string resource specified by a LocStringId enumeration integer value. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Public property IgnoreUserPrivacy Gets or sets a Boolean value that determines whether a user's privacy settings should be ignored.
Public property IsError Gets or sets a value that indicates whether there was an error loading the profile.
Public property IsNewProfileMode Gets or sets a value that indicates whether the ProfilePropertyLoader is being used to create a new profile.
Public property IsProfileEditableByMe Gets a value that indicates whether the profile is editable by the current user.
Public property IsProfileOwner Gets a value that indicates whether the current user is an owner of the profile.
Public property LoadedProfile Gets the profile loaded in the ProfilePropertyLoader.
Public property LoadedProfileManager Gets the profile manager loaded in the ProfilePropertyLoader.
Public property LoadFullProfileOfCurrentUser Gets or sets a value that indicates whether the full profile information about the current user is loaded.
Public property ProfileCurrentUser Gets the UserProfile of the current user.
Public property ProfileLoaded Gets the UserProfile of the current user.
Public property ProfileManager Gets the UserProfileManager object.
Public property TypeOfLoader Sets the ProfileType used.

Top

Methods

  Name Description
Public method ApplyFormattingEx(Property, []) Returns property values as a formatted HTML string for rendering.
Public method ApplyFormattingEx(Property, [], Boolean) Returns property values as a formatted HTML string for rendering.
Public method DisplayName Returns the display name of the property for the profile loaded in the ProfilePropertyLoader.
Public methodStatic member FindControl Searches the page controls for a control of the specified type.
Public methodStatic member FindControlHelper Searches the control collection for a control of the specified type.
Public methodStatic member FindLoader Finds the ProfilePropertyLoader control in the current HttpContext or the specified Page.
Public methodStatic member GetPageProfile Gets the UserProfile associated with the specified Page.
Public method GetProperty Gets the property object for the profile property in the ProfilePropertyLoader.
Public method Init Initializes the error text. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Protected method LoadRequestedProfile Loads the profile from the query strings of the current HttpRequest.
Protected method OnInit Handles the Init event. (Overrides Control.OnInit(EventArgs).)
Protected method OnLoad Handles the Load event. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Protected method Render Renders the PageLevelError control. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)
Public method ValueEx Returns the values of the specified profile property for the loaded profile.

Top

Fields

  Name Description
Public field Image Identifies the image to display. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PageLevelError.)

Top

See Also

Reference

ProfilePropertyLoader Class

Microsoft.SharePoint.Portal.WebControls Namespace