UserProfile 成员

Represents a user profile for a person in the user profile database.

UserProfile 类型公开以下成员。

属性

  名称 说明
公共属性 AccountName Gets the account name of the user profile.
公共属性 Colleagues Gets a ColleagueManager object that enables you to access and modify this user's colleagues.
公共属性 CurrentChangeToken 获取此配置文件的ProfileType的更改日志的当前的UserProfileChangeToken对象。 (从 ProfileBase 继承。)
公共属性 DisplayName Gets or sets the value that represents the display name of this user profile. (覆盖 ProfileBase.DisplayName。)
公共属性 EmailOptin Gets the user's setting for the Email Notifications property.
公共属性 FeedIdentifier Gets the user's setting for the Feed service provider defined identifier property.
公共属性 FollowedContent Gets the manager object that enables you to access and modify this user's followed content.
公共属性 ID 此配置文件中获取的 GUID。 (从 ProfileBase 继承。)
公共属性 Item Gets the value of the specified property.
公共属性 Memberships Gets a MembershipManager object that enables you to access and modify this user's group memberships.
公共属性 MultiloginAccounts Gets an array of string objects that represent the accounts that are secondary to the master account.
公共属性 O15FirstRunExperience
公共属性 Parent (覆盖 ProfileBase.Parent。)
公共属性 PersonalizationLinks Gets a PersonalizationLinkManager object that enables you to access and modify this user's personalization links.
公共属性 PersonalSite Gets the personal site of the user.
公共属性 PersonalSiteCapabilities Gets projected capabilities for the user’s personal site.
公共属性 PersonalSiteInstantiationState Gets an instantiation of the state of the personal site.
公共属性 PersonalUrl Gets the user’s personal URL.
公共属性 PictureImportEnabled Gets a Boolean value that indicates whether the user's picture is enabled for import from Exchange.
公共属性 ProfileManager Gets the UserProfileManager object for this user profile.
公共属性 ProfileManagerBase Gets the manager associated with this profile object. (覆盖 ProfileBase.ProfileManagerBase。)
公共属性 ProfileSubtype 获取或设置此属性的配置文件子类型。 (从 ProfileBase 继承。)
受保护的属性 ProfileSubtypeId 获取或设置配置文件子类型 id。 (从 ProfileBase 继承。)
公共属性 ProfileType Gets the profile type for the profile. (覆盖 ProfileBase.ProfileType。)
公共属性 Properties 获取此配置文件的ProfileSubtypePropertyManager对象。 (从 ProfileBase 继承。)
公共属性 PublicOrganizationViewUrl 获取此配置文件的组织视图页的 URL。 (从 ProfileBase 继承。)
公共属性 PublicUrl Gets the URL of the public profile page for this profile. (覆盖 ProfileBase.PublicUrl。)
公共属性 QuickLinks Gets the QuickLinkManager object for this user profile.
公共属性 RecordId 获取配置文件的记录标识符。 (从 ProfileBase 继承。)
公共属性 RemotePersonalSiteHostUrl Gets the absolute URL string for the user's remote personal site host, if one exists.
公共属性 StatusNote
公共属性 Suggestions Returns a SuggestionManager object that enables you to create and retrieve this user’s colleague and keyword suggestions.
公共属性 UrlToCreatePersonalSite Gets the URL that is used to create the user's personal site.
公共属性 ViewerRights 返回一个位掩码的查看器的权限,若要查看此配置文件的数据。 (从 ProfileBase 继承。)

页首

方法

  名称 说明
公共方法 Commit Commits changes made to the user profile to the user profile database. (覆盖 ProfileBase.Commit()。)
公共方法 CreatePersonalSite() Creates a personal site for this user if a personal site does not already exist.
公共方法 CreatePersonalSite(Int32) Creates a personal site for this user if a personal site does not already exist.
公共方法 CreatePersonalSiteEnque Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files.
公共方法 Equals 确定指定的对象是否与当前配置文件完全相同。 (从 ProfileBase 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetChanges() Returns all changes made to this user's data. (覆盖 ProfileBase.GetChanges()。)
公共方法 GetChanges(ProfileBaseChangeQuery) Returns changes to this user’s data that are defined by the specified change query. (覆盖 ProfileBase.GetChanges(ProfileBaseChangeQuery)。)
公共方法 GetChanges(UserProfileChangeToken) Returns all changes made to this user's data since a given time specified by the change token. (覆盖 ProfileBase.GetChanges(UserProfileChangeToken)。)
公共方法 GetColleagueChanges() 已过时。Returns all changes made to this user's colleagues' data.
公共方法 GetColleagueChanges(UserProfileChangeQuery) 已过时。Returns all changes made to this user's colleagues' data that are defined by the specified change query.
公共方法 GetColleagueChanges(UserProfileChangeToken) 已过时。Returns all changes made to this user's colleagues' data since the time specified by the change token.
公共方法 GetCommonManager
公共方法 GetDirectReports Gets an array of user profiles that represent users who report directly to this user.
公共方法 GetEnumerator Gets an enumerator for the properties of a user profile such as property name or property value pairs.
公共方法 GetExtendedReports Gets an array of user profiles representing users who are extended reports of this user.
公共方法 GetHashCode 返回此配置文件的唯一标识符的哈希代码。 (从 ProfileBase 继承。)
公共方法 GetManager Gets the user profile that represents this user’s manager.
公共方法 GetManagers Gets an array of user profiles that represents the manager hierarchy for this user.
公共方法 GetMyDirectReportOrganizations 已过时。Returns an array of organization profiles representing organizations that report to this user.
公共方法 GetMyOrganizationChains 已过时。Returns an array of organization profiles, including child organizations.
公共方法 GetMyOrganizations() 已过时。Returns an array of organization profiles representing organizations to which this user directly belongs.
公共方法 GetMyOrganizations(Boolean) 已过时。Returns an array of organization profiles representing organizations to which this user directly belongs.
公共方法 GetPeers Gets an array of user profiles that represent users who report to the same manager as this user.
公共方法 GetProfileValueCollection Returns a list of values for the user profile property with the specified name. (覆盖 ProfileBase.GetProfileValueCollection(String)。)
公共方法 GetType (从 Object 继承。)
受保护的方法 GetViewerRights (覆盖 ProfileBase.GetViewerRights()。)
公共方法 IsProfileOwner Returns a value that indicates whether the specified user is an owner of this user profile. (覆盖 ProfileBase.IsProfileOwner(UserProfile)。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 RefreshManagers Updates the names of managers identified in the user’s profile.
公共方法 ShareAllSocialData Sets the privacy settings for this profile.
公共方法 SID 获取配置文件的唯一标识符。 (从 ProfileBase 继承。)
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

UserProfile 类

Microsoft.Office.Server.UserProfiles 命名空间