UserProfileManager 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 | |
---|---|---|
UserProfileManager() | Initializes a new instance of the UserProfileManagerclass. | |
UserProfileManager(ServerContext) | Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context. | |
UserProfileManager(SPServiceContext) | Initializes a new instance of the UserProfileManager class for the specified service context. | |
UserProfileManager(Boolean) | Initializes a new instance of the UserProfileManager class. | |
UserProfileManager(ServerContext, Boolean) | Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context. | |
UserProfileManager(SPServiceContext, Boolean) | Initializes a new instance of the UserProfileManager class for the specified service context. | |
UserProfileManager(ServerContext, Boolean, Boolean) | Obsolete. Initializes a new instance of the UserProfileManager class for the specified server context. | |
UserProfileManager(SPServiceContext, Boolean, Boolean) | Initializes a new instance of the UserProfileManager class for the specified service context. |
Top
Properties
Name | Description | |
---|---|---|
AccountNameFormat | Gets the account name format. (Inherited from ProfileManagerBase.) | |
Count | Gets the total number of user profiles contained in the database. (Overrides ProfileManagerBase.Count.) | |
CurrentChangeToken | Gets the current change token for this profile type. (Inherited from ProfileManagerBase.) | |
DefaultProfileSubtypeProperties | Gets the default ProfileSubtypePropertyManager. (Inherited from ProfileManagerBase.) | |
GlobalPersonalSitesList | Gets a list of global personal site locations | |
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. | |
IsPersonalSiteMultipleLanguage | Gets or sets a value indicating whether personal sites can be created in multiple languages. | |
MySiteEmailSenderName | Gets or sets the name of the e-mail sender name for MySites in the current context. | |
MySiteHostCompatibilityLevel | ||
MySiteHostMicrofeedEnabled | ||
MySiteHostUrl | Gets or sets the URL to the site which hosts MySites for the current context. | |
PersonalizationLinksList | Gets a list of personalization sites for the current context. | |
PersonalSiteFormat | Gets or sets the naming format for personal sites (for example, domain_username or username). | |
PersonalSiteInclusion | Gets the inclusion under which personal sites are created. | |
PersonalSiteReaders | Gets or sets a list of users who will be added as readers on new personal sites. | |
Properties | Obsolete. Gets the collection of defined profile properties, not including sections. (Inherited from ProfileManagerBase.) | |
PropertiesWithSection | Obsolete. Gets the collection of defined profile properties, including sections. (Inherited from ProfileManagerBase.) | |
UserProfileChangeJobSchedule |
Top
Methods
Name | Description | |
---|---|---|
AddLeader | Adds a new leader to the user profile database. | |
CreateUserProfile() | Creates a user profile. | |
CreateUserProfile(String) | Creates a user profile with the specified account name. | |
CreateUserProfile(String, String) | Creates a user profile with the specified account name and preferred name. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChanges() | Returns all changes made to a user’s profile. (Overrides ProfileManagerBase.GetChanges().) | |
GetChanges(ProfileBaseChangeQuery) | Returns changes made to a user’s profile that are defined by the specified change query. (Overrides ProfileManagerBase.GetChanges(ProfileBaseChangeQuery).) | |
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).) | |
GetEnumerator() | Returns an IEnumerator that can be used to iterate through all profiles. (Inherited from ProfileManagerBase.) | |
GetEnumerator(Int64, Int32) | Returns an IEnumerator that can be used to iterate through a specified number of profiles. (Inherited from ProfileManagerBase.) | |
GetHashCode | (Inherited from Object.) | |
GetLeaders | Gets the leaders in the user profile database. | |
GetMemberGroups | Gets the MemberGroupManager for the current context. | |
GetPrivacyPolicy | Gets the privacy policy for the current context. | |
GetProfile | Gets the user profile with the specified record identifier. (Overrides ProfileManagerBase.GetProfile(Int64).) | |
GetStringSinglePropertyValueForUser | Retrieves the single-valued property for the UserProfile whose name matches the propertyName parameter of the UserProfile identified by the accountName parameter. | |
GetType | (Inherited from Object.) | |
GetUserProfile(Boolean) | Gets the UserProfile object of the current user or creates one if the UserProfile object does not already exist. | |
GetUserProfile([]) | Gets the UserProfile object for the specified SID in byte[] format. | |
GetUserProfile(Guid) | Gets the UserProfile object for the specified GUID. | |
GetUserProfile(Int64) | Gets the UserProfile object for the specified record identifier. | |
GetUserProfile(String) | Gets the UserProfile object for the specified account name. | |
GetUserProfile(Int64, Boolean) | ||
GetUserProfile(String, Boolean) | Retrieves the requested user's profile. | |
IsAvailable | Gets a value indicating whether there is a working connection to a User Profile Application in the specified service context. | |
MemberwiseClone | (Inherited from Object.) | |
RemoveLeader | Removes the specified leader from the user profile database. | |
RemoveProfile | Removes the specified user profile from the database. (Overrides ProfileManagerBase.RemoveProfile(ProfileBase).) | |
RemoveUserProfile(Guid) | Removes the user profile, quick links, and alert data from the user profile database for the specified GUID. | |
RemoveUserProfile(String) | Removes the user profile, quick links, and alert data from the user profile database for the specified account name. | |
ResolveProfile | Returns an array of ProfileBase objects that match the specified search pattern. (Inherited from ProfileManagerBase.) | |
Search(String) | Retrieves an array of ProfileBase objects of a particular profile type whose searchable properties match the specified search pattern. (Inherited from ProfileManagerBase.) | |
Search([]) | Retrieves an array of ProfileBase objects of a particular profile type whose searchable properties match the specified search patterns. (Inherited from ProfileManagerBase.) | |
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.) | |
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.) | |
Search([], Int32, Nullable<Boolean>) | Return profiles for specific subtypes, 0 means all subtypes. (Inherited from ProfileManagerBase.) | |
ToString | (Inherited from Object.) | |
UserExists | Returns a value indicating whether the user for a specified account name has a user profile. |
Top