Share via


UserProfile methods

The UserProfile type exposes the following members.

Methods

  Name Description
Public method Commit Commits changes made to the user profile to the user profile database. (Overrides ProfileBase.Commit().)
Public method CreatePersonalSite() Creates a personal site for this user if a personal site does not already exist.
Public method CreatePersonalSite(Int32) Creates a personal site for this user if a personal site does not already exist.
Public method CreatePersonalSiteEnque Enqueues creating a personal site for this user, which can be used to share documents, web pages, and other files.
Public method Equals Determines whether the specified object is identical to the current profile. (Inherited from ProfileBase.)
Protected method Finalize (Inherited from Object.)
Public method GetChanges() Returns all changes made to this user's data. (Overrides ProfileBase.GetChanges().)
Public method GetChanges(ProfileBaseChangeQuery) Returns changes to this user’s data that are defined by the specified change query. (Overrides ProfileBase.GetChanges(ProfileBaseChangeQuery).)
Public method GetChanges(UserProfileChangeToken) Returns all changes made to this user's data since a given time specified by the change token. (Overrides ProfileBase.GetChanges(UserProfileChangeToken).)
Public method GetColleagueChanges() Obsolete. Returns all changes made to this user's colleagues' data.
Public method GetColleagueChanges(UserProfileChangeQuery) Obsolete. Returns all changes made to this user's colleagues' data that are defined by the specified change query.
Public method GetColleagueChanges(UserProfileChangeToken) Obsolete. Returns all changes made to this user's colleagues' data since the time specified by the change token.
Public method GetCommonManager
Public method GetDirectReports Gets an array of user profiles that represent users who report directly to this user.
Public method GetEnumerator Gets an enumerator for the properties of a user profile such as property name or property value pairs.
Public method GetExtendedReports Gets an array of user profiles representing users who are extended reports of this user.
Public method GetHashCode Returns the hash code for the unique identifier of this profile. (Inherited from ProfileBase.)
Public method GetManager Gets the user profile that represents this user’s manager.
Public method GetManagers Gets an array of user profiles that represents the manager hierarchy for this user.
Public method GetMyDirectReportOrganizations Obsolete. Returns an array of organization profiles representing organizations that report to this user.
Public method GetMyOrganizationChains Obsolete. Returns an array of organization profiles, including child organizations.
Public method GetMyOrganizations() Obsolete. Returns an array of organization profiles representing organizations to which this user directly belongs.
Public method GetMyOrganizations(Boolean) Obsolete. Returns an array of organization profiles representing organizations to which this user directly belongs.
Public method GetPeers Gets an array of user profiles that represent users who report to the same manager as this user.
Public method GetProfileValueCollection Returns a list of values for the user profile property with the specified name. (Overrides ProfileBase.GetProfileValueCollection(String).)
Public method GetType (Inherited from Object.)
Protected method GetViewerRights (Overrides ProfileBase.GetViewerRights().)
Public method IsProfileOwner Returns a value that indicates whether the specified user is an owner of this user profile. (Overrides ProfileBase.IsProfileOwner(UserProfile).)
Protected method MemberwiseClone (Inherited from Object.)
Public method RefreshManagers Updates the names of managers identified in the user’s profile.
Public method ShareAllSocialData Sets the privacy settings for this profile.
Public method SID Gets the profile's unique identifier. (Inherited from ProfileBase.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

UserProfile class

Microsoft.Office.Server.UserProfiles namespace