Mobile Web Studio accounts

This section describes how to create, modify, and delete Mobile Web Studio, Portal Interface, and mobile device user accounts from Mobile Web Studio; and how to reset passwords.

You may want to work out a process for resetting passwords. By default, the Portal Interface user’s request is sent from the Portal Interface (Reset Password link) to the e-mail address or addresses listed in the global.properties.xml property, resetPasswordEmail. Once the request is received, use the procedure in “Resetting passwords for user accounts” to reset the password.

StepsCreating new user accounts

  1. Log in to Mobile Web Studio as StudioAdmin (such as the masuper account).

  2. Select Manage | Users/Roles from the menu in the left pane, and select Users from the Accelerator Manager pane as shown in Figure 4-1.

    Figure 4-1: Managing UA users

  3. Select New from the toolbar.

  4. When the Create New User window displays, complete the required fields.

  5. Click Save, and OK to confirm. The new user displays in the list of available users, and the password is sent to the e-mail address entered for the account. Upon login, the user can access any applications and pages assigned the permissions granted to this user.

StepsModifying existing user accounts

  1. Log in to Mobile Web Studio as StudioAdmin (such as the masuper account).

  2. Select Manage | Users/Roles from the menu in the left pane.

  3. Select Users.

  4. Select an existing user from the list of users, and select Edit from the toolbar.

  5. When the User Editor window displays, complete the required fields.

  6. Click Save, and OK to confirm.

StepsResetting passwords for user accounts

  1. Log in to Mobile Web Studio as StudioAdmin (such as the masuper account).

  2. Select Manage | Users/Roles from the menu in the left pane.

  3. Select Users.

  4. Select an existing user from the list of users, and select Edit from the toolbar.

  5. When the User Editor window displays, select Password.

  6. Select Yes to confirm. A confirmation message displays, explaining the password will be sent to the user’s e-mail address.

StepsDeleting user accounts

  1. Log in to Mobile Web Studio as StudioAdmin (such as the masuper account).

  2. Select Manage | Users/Roles from the menu in the left pane.

  3. Select Users.

  4. Right-click an existing user in the list of users, and select Delete User from the pop-up menu.

  5. Click OK twice to confirm. The user is removed from the list of available users.

NoteWhen you delete a Mobile Web Studio user, you do not delete templates, applications, pages, and so forth that are owned by the user. You must run the PortalCleanup utility to clean up these entries in the PortalDB.

StepsCleaning up the PortalDB (PortalCleanup utility)

When you delete a Mobile Web Studio user, you do not delete templates, applications, pages, and so forth that are owned by the user (in some cases you may not want to delete these things if they are use in applications used by other users). Over time you may want or need to clean up the database tables. Use the PortalCleanup utility to clean up these entries in the database tables.

  1. From a Command Prompt window, navigate to the PortalCleanup.bat script located in: SYBASE\tomcat\webapps\onepage\config if you are using Tomcat.

  2. Make sure the JAVA_HOME environment variable is set; for example, set to SYBASE\jdk.1.5.x.

  3. Execute this command, substituting a the user’s login name for user:

    % PortalCleanup -webapproot SYBASE\tomcat\webapps\onepage user
    

    The script uses a com.sybase.ep.utils.PortalCleanup utility to access the PortalDB and remove all references to the given login name.