Step 3: Create Two Users

In this step, you will create two test users that have different preferences set in their user profiles. When you log in as each user at the end of the tutorial, each users will see different content displayed in the portlet based on their different user profile property values.

The tasks in this step are:

Start the WebLogic Administration Portal

  1. In the WebLogic Workshop menu, choose Portal-->Open Portal Administration.
  2. Log in with Username: weblogic Password: weblogic.
  3. When the WebLogic Administration Portal appears, select Users & Groups under Users, Gropus, & Roles in the top Menu in the editor pane.

Create Two Users and Set Their Profile Preferences

  1. In the Users & Groups resource tree, click everyone (All Users).
  2. Select the Add Users page in the editor pane.
  3. Click Create New User in the main window.
  4. In the Add a New User dialog that appears, enter modernuser, enter a password of password (which is the default), and click Create New User. A confirmation message appears at the top of the Add Users page.
  5. Create a second user called classicuser with a password of password.
  6. Select the Edit Users page.
  7. In section 1 of the page, enter an asterisk (*) in the Search field and click Search.
  8. In section 2 of the page,click the classicuser name. The Editing User window appears.
  9. Select the Edit User Profile Values page.
  10. In the Properties from property set field, select userpreferences. This is the property set you created.
  11. Expand the Graphic Preference property line. Change the Graphic Preference property value to classic, and click Update Value.
  12. In the left resource tree, select everyone (All Users).
  13. In section 1 of the page, enter an asterisk (*) in the Search field and click Search.
  14. In section 2 of the page,click the modernuser name. The Editing User window appears.
  15. On the Edit User Profile Values page, change the user's Graphic Preference to modern, and click Update Value.

You now have two users with different user profile preferences.

Click one of the following arrows to navigate through the tutorial: