UserProfileManager methods

The UserProfileManager type exposes the following members.

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) Retrieves the requested user's profile.
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) Obsolete. 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, []) Obsolete. 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>) Return profiles for specific subtypes, 0 means all subtypes. (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