Home

 

Profiles administrative commands

Use the commands listed to edit administrative properties for Profiles. No file checkout or server restart is needed when using these commands. The following table defines the administrative commands that you can use to administer Profiles.


Profiles administrative properties

Property Description
ProfilesService.deletePhoto("user_email_addr") Deletes image files associated with a user's e-mail address. This command can be used only if the user has uploaded a photo into their profile document. This command removes that photo.
ProfilesService.updateDescription("user_email_addr", "new content for description field") Replaces the existing description text associated with a user's e-mail address with alternate description text enclosed by double quotes.

Description text is information contained on the About Me area of a user's profile.

Rich text cannot be entered with this command.

ProfilesService.updateExperience("user_email_addr", "new content for experience field") Replaces the existing experience text associated with a user's e-mail address with alternate text enclosed by quotes.

Experience is the information contained on the Background tab of a user's profile.

Rich text cannot be entered with this command.

ProfilesService.enableMiniReportsToCache(startDelay, interval, scheduledTime) Enables the mini reports-to cache with the specified start delay in minutes, refresh interval in minutes, and scheduled refresh time in HH:MM format).

This cache is used to populate the mini report-to chain view to the right of the business card in a profile. This cache contains one entry for every profile in the database. Every time this cache is loaded from the database, it is saved to the file system. This operation enables quick reloading of the cache if the Profiles application is restarted.

ProfilesService.disableMiniReportsToCache() Disables the mini reports-to cache capability.
ProfilesService.reloadMiniReportsToCache() Forces a reload of the cache from the Profiles database.

If the mini reports-to cache is disabled, then it cannot be reloaded. This command fails when the cache is disabled.

ProfilesService.enableFullReportsToCache(startDelay, interval, schedTime) Enables the full reports-to cache with the specified start delay in minutes, refresh interval in minutes, and scheduled refresh time in HH:MM format.

This cache is used to populate the full reports-to chain view available under the business card in a profile. The cache contains a specified number of the top employees in the organizational pyramid; it is not intended to store an entry for each profile. It stores the profiles of those people at the top of the chain who are included in many full report-to chain views.

ProfilesService.disableFullReportsToCache() Disables the full reports-to cache capability.
ProfilesService.reloadFullReportsToCache() Forces a reload of the cache from the Profiles database.

If the full reports-to cache is disabled, it cannot be reloaded. This command fails when the cache is disabled.

ProfilesService.writeStatisticsToFile("myStatsFile") Writes the most recent Profiles statistics to a file.

The myStatsFile argument can include the full path and name of the statistics file. Note that the path must be relative to the server hosting the MBean used by this command.


Running administrative commands

 

Related tasks

Running administrative commands


+

Search Tips   |   Advanced Search