Share via


UserProfileManager Members

Include Protected Members
Include Inherited Members

Represents a collection of UserProfile objects that are used to access user profile data. To access a specific user profile, call the UserProfileManager class to create a UserProfile object and then retrieve the corresponding data from the user profile database.

The UserProfileManager type exposes the following members.

Constructors

  Name Description
Public method UserProfileManager() Initializes a new instance of the UserProfileManagerclass.
Public method UserProfileManager(ServerContext) Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context.
Public method UserProfileManager(SPServiceContext) Initializes a new instance of the UserProfileManager class for the specified service context.
Public method UserProfileManager(Boolean) Initializes a new instance of the UserProfileManager class.
Public method UserProfileManager(ServerContext, Boolean) Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context.
Public method UserProfileManager(SPServiceContext, Boolean) Initializes a new instance of the UserProfileManager class for the specified service context.
Public method UserProfileManager(ServerContext, Boolean, Boolean) Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context.
Public method UserProfileManager(SPServiceContext, Boolean, Boolean) Initializes a new instance of the UserProfileManager class for the specified service context.

Top

Properties

  Name Description
Public property AccountNameFormat Gets the account name format. (Inherited from ProfileManagerBase.)
Public property Count Gets the total number of user profiles contained in the database. (Overrides ProfileManagerBase.Count.)
Public property CurrentChangeToken Gets the current change token for this profile type. (Inherited from ProfileManagerBase.)
Public property DefaultProfileSubtypeProperties Gets the default ProfileSubtypePropertyManager. (Inherited from ProfileManagerBase.)
Public property GlobalPersonalSitesList Gets a list of global personal site locations
Public property IsClaimProvider Gets or sets a value determining whether to force explicit use or explicit non-use of user profile data for the purpose of providing claims.
Public property IsPersonalSiteMultipleLanguage Gets or sets a value indicating whether personal sites can be created in multiple languages.
Public property MySiteEmailSenderName Gets or sets the name of the e-mail sender name for MySites in the current context.
Public property MySiteHostUrl Gets or sets the URL to the site which hosts MySites for the current context.
Public property PersonalizationLinksList Gets a list of personalization sites for the current context.
Public property PersonalSiteFormat Gets or sets the naming format for personal sites (for example, domain_username or username).
Public property PersonalSiteInclusion
Public property PersonalSiteReaders Gets or sets a list of users who will be added as readers on new personal sites.
Public property Properties Obsolete. Gets the collection of defined profile properties, not including sections. (Inherited from ProfileManagerBase.)
Public property PropertiesWithSection Obsolete. Gets the collection of defined profile properties, including sections. (Inherited from ProfileManagerBase.)
Public property UserProfileChangeJobSchedule

Top

Methods

  Name Description
Public method AddLeader Adds a new leader to the user profile database.
Public method CreateUserProfile() Creates a user profile.
Public method CreateUserProfile(String) Creates a user profile with the specified account name.
Public method CreateUserProfile(String, String) Creates a user profile with the specified account name and preferred name.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChanges() Returns all changes made to a user’s profile. (Overrides ProfileManagerBase.GetChanges().)
Public method GetChanges(ProfileBaseChangeQuery) Returns changes made to a user’s profile that are defined by the specified change query. (Overrides ProfileManagerBase.GetChanges(ProfileBaseChangeQuery).)
Public method GetChanges(UserProfileChangeToken) Returns changes made to a user’s profile from a specific location in the change logs that is represented by the specified change token. (Overrides ProfileManagerBase.GetChanges(UserProfileChangeToken).)
Public method GetEnumerator() Returns an IEnumerator that can be used to iterate through all profiles. (Inherited from ProfileManagerBase.)
Public method GetEnumerator(Int64, Int32) Returns an IEnumerator that can be used to iterate through a specified number of profiles. (Inherited from ProfileManagerBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetLeaders Gets the leaders in the user profile database.
Public method GetMemberGroups Gets the MemberGroupManager for the current context.
Public method GetPrivacyPolicy Gets the privacy policy for the current context.
Public method GetProfile Gets the user profile with the specified record identifier. (Overrides ProfileManagerBase.GetProfile(Int64).)
Public methodStatic member GetStringSinglePropertyValueForUser Retrieves the single-valued property for the UserProfile whose name matches the propertyName parameter of the UserProfile identified by the accountName parameter.
Public method GetType (Inherited from Object.)
Public method GetUserProfile(Boolean) Gets the UserProfile object of the current user or creates one if the UserProfile object does not already exist.
Public method GetUserProfile([]) Gets the UserProfile object for the specified SID in byte[] format.
Public method GetUserProfile(Guid) Gets the UserProfile object for the specified GUID.
Public method GetUserProfile(Int64) Gets the UserProfile object for the specified record identifier.
Public method GetUserProfile(String) Gets the UserProfile object for the specified account name.
Public method GetUserProfile(Int64, Boolean)
Public method GetUserProfile(String, Boolean)
Public methodStatic member IsAvailable Gets a value indicating whether there is a working connection to a User Profile Application in the specified service context.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveLeader Removes the specified leader from the user profile database.
Public method RemoveProfile Removes the specified user profile from the database. (Overrides ProfileManagerBase.RemoveProfile(ProfileBase).)
Public method RemoveUserProfile(Guid) Removes the user profile, quick links, and alert data from the user profile database for the specified GUID.
Public method RemoveUserProfile(String) Removes the user profile, quick links, and alert data from the user profile database for the specified account name.
Public method ResolveProfile Returns an array of ProfileBase objects that match the specified search pattern. (Inherited from ProfileManagerBase.)
Public method Search(String) Retrieves an array of ProfileBase objects of a particular profile type whose searchable properties match the specified search pattern. (Inherited from ProfileManagerBase.)
Public method Search([]) Retrieves an array of ProfileBase objects of a particular profile type whose searchable properties match the specified search patterns. (Inherited from ProfileManagerBase.)
Public method Search(OrganizationProfile, String) Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match a specified search pattern. (Inherited from ProfileManagerBase.)
Public method Search(OrganizationProfile, []) Retrieves an array of users and organizations (as ProfileBase objects) under the specified OrganizationProfile object whose searchable properties match the specified search patterns. (Inherited from ProfileManagerBase.)
Public method Search([], Int32, Nullable<Boolean>) (Inherited from ProfileManagerBase.)
Public method ToString (Inherited from Object.)
Public method UserExists Returns a value indicating whether the user for a specified account name has a user profile.

Top

See Also

Reference

UserProfileManager Class

Microsoft.Office.Server.UserProfiles Namespace