The UserProfileModule type exposes the following members.

Constructors

  Name Description
Public method UserProfileModule
User profile module constructor.

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Protected method BindSubControls
Protected method BindUsers
Binds users combobox
Protected method CreateChildControls (Overrides Control..::..CreateChildControls()()()().)
Public method DataBind
Binds and formats user profile data for display.
Protected method InitSubControls
Protected method InitUserStatus
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnMyStatusChanged
Protected method OnMyStatusChanging
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Protected method OnWorkingModeChanged
Raises working mode changed event.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnSetMyStatus
btnSetMyStatus control.
Protected field ddlUsers
ddlUsers control.
Protected field labEditProfile
labEditProfile control.
Protected field labMyStatus
labMyStatus control.
Protected field labName
labName control.
Protected field labViewProfile
labViewProfile control.
Protected field lblTitle
lblTitle control.
Protected field lblUser
lblUser control.
Protected field lnkEditProfile
lnkEditProfile control.
Protected field lnkRemoveStatus
lnkRemoveStatus control.
Protected field lnkViewProfile
lnkViewProfile control.
Protected field mainHolder
mainHolder control.
Protected field panStatusEdit
panStatusEdit control.
Protected field plhFooter
plhFooter control.
Protected field plhMain
plhMain control.
Protected field plhSideBar
plhSideBar control.
Protected field privacyEditor
privacyEditor control.
Protected field rowAdmin
rowAdmin control.
Protected field rowFooter
rowFooter control.
Protected field rowMainContent
rowMainContent control.
Protected field rowSideBar
rowSideBar control.
Protected field rowStatus
rowStatus control.
Protected field rowSwitch
rowSwitch control.
Protected field txtMyStatus
txtMyStatus control.
Protected field up
up control.
Protected field upTop
upTop control.
Protected field userAvatar
userAvatar control.
Protected field userProfile
userProfile control.

Properties

  Name Description
Public property AdminEnabled
Gets or sets the flag if user profile administration is enabled.
Public property AutoDetectUser
Gets or sets the flag if auto detect authenticatd user is on.

Note: By default Auto detect authenticated user is on.

Public property AvatarSize
Avatar size - 1 to 80 for gravatars.
Public property Controls
Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Overrides Control..::..Controls.)
Public property DateFormatString
Date format string.
Public property DefaultPrivacyLevelId
Default privacy level ID.
Public property DefaultWorkingMode
Gets or sets the user profile default state of working mode.
Public property EditTemplate
Gets or sets the edit template used to add edit fields to the profile.
Public property FooterTemplate
Gets or sets the template for the footer content.
Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property HiddenFields
Gets or sets a list of fields that should be always hidden.
Public property HiddenFieldsString
Gets or sets a CSV list of fields that should be always hidden in preview mode.
Protected property InEditMode
Gets or sets if module is working in edit mode.
Public property MainContentTemplate
Gets or sets the template for the main content.
Public property PreviewTemplate
Gets or sets the preview template used to add preview fields to the profile.
Public property ShowASPNETProfile
Visibility of the ASP.NET Profile fields.
Public property ShowEMailField
Gets or sets the flag if e-mail field is shown.
Public property ShowFooterContent
Gets or sets the flag if footer content is shown.
Public property ShowMainContent
Gets or sets the flag if main content is shown.
Public property ShowMyStatus
Gets or sets a value indicating whether user's status is shown.
Public property ShowPasswordField
Gets or sets the flag if password field is shown.
Public property ShowPrivacyEditor
Visibility of the privacy editor.
Public property ShowSideBarContent
Gets or sets the flag if side bar content is shown.
Public property ShowUserAvatar
Gets or sets the flag if user avatar is shown.
Public property ShowUserProfile
Gets or sets the flag if user profile is shown.
Public property ShowWorkingModeSwitch
Gets or sets the flag if working mode switch is shown.
Public property SideBarTemplate
Gets or sets the template for the side bar.
Public property UserId
Gets or sets user id.
Public property UserReputationNewAvatarScore
Gets or sets how much score user gets for new avatar submission.
Public property UserReputationNewMyStatusScore
Gets or sets how much score user gets for new my status submission.
Public property UserReputationNewUserInfoScore
Gets or sets how much score user gets for new user information submission.
Public property WorkingMode
Gets or sets the user profile current working mode.

Events

  Name Description
Public event MyStatusChanged
My status changed event.
Public event MyStatusChanging
My status changing event that can be canceled.
Public event Saved
Saved event handler.
Public event Saving
Saving event handler.
Public event WorkingModeChanged
Working mode changed event.

See Also