Home

 

Remove inappropriate content


Overview

Content management commands are used to update inappropriate information stored in the Profiles database, such as text displayed in the About Me and Background fields of the Profiles user interface. These administrative commands can also be used to delete inappropriate photos from the database. No file checkout or server restart is required when using the commands.

To access configuration files, use wsadmin. See Start the wsadmin client for information about how to start the wsadmin command-line tool.

Profiles provides a number of administrative commands that allow you to remove offensive or unwanted content from the database.

  1. Start wsadmin to access the Profiles configuration files.

    1. Access the Profiles configuration files:

  2. Use the following commands to remove inappropriate or unwanted content from the Profiles database:

    Option Description
    ProfilesService.updateExperience("user_email_addr", "new content for experience field") Replace the existing experience text associated with a user's e-mail address with alternate text enclosed by double quotes. Experience is the information contained in the Background area of a user's profile. Sample command:

      ProfilesService.updateExperience( "ann_jones@company.com","This is new text that will be entered into the Background field for Ann.")

    Rich text cannot be entered with this command.

    ProfilesService.updateDescription("user_email_addr", "new content for description field") Replace 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 tab of a user's profile. Sample command:

      ProfilesService.updateDescription( "ann_jones@company.com","This is new text that will be entered into the About Me tab for Ann.")

    Rich text cannot be entered with this command.

    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 the photo.Sample command:

      ProfilesService.deletePhoto( "john_doe@company.com")


Manage content


+

Search Tips   |   Advanced Search