Show TOC Start of Content Area

Procedure documentation Allowing Users to View the Contact Information of Other Users  Locate the document in its SAP Library structure

Use

Use this procedure to enable business users to view the user profile of other business users of the SAP NetWeaver Application Server (AS) Java. Using a user viewer iView, users can view the following information about other users:

        General information, such as name, telephone number, and e-mail address

        Address, including time zone and preferred language

        Company information

        Customized information (optional)

You can add custom attributes to the user profile for display in the user viewer.

When to Use the Collaboration Capabilities of the Portal

The portal offers a user details iView as part of its collaboration capabilities with a greater range of options and configurations. Use the table below to help you determine which iView to use.

Comparison of User iViews

User Viewer iView of the AS Java

User Details iView of the Portal

You can use this iView with usage types AS Java and EPC.

Requires usage type EP.

Displays e-mail address and telephone numbers.

Provides a range of collaboration services.

Does not support adding user photographs.

Show or hide user photographs. Includes photo maintenance self-service.

You can display custom attributes of the user profile.

You can change the structure and layout of the user attributes. You can create company-specific iViews.

 

For more information, see User Details iView in the Collaboration Administration Guide.

View Options

The user viewer presents the following view options:

      Without URL parameters

If you start the user viewer application without URL parameters, you can search for users to display. The user viewer uses the simple search mechanism of the user management engine (UME).

      With URL parameters

You can use the GET or POST methods to pass URL parameters. With the parameters, you can specify the user to display in the user viewer iView. You have the following options:

       userID

Provide the user ID of the AS Java user and the user viewer displays the public information from the user profile as described above.

       userID and systemAlias

By providing the user ID and system alias you can perform a reverse look up based on the user mapping. You provide the portal system alias of a back-end system and a user ID in that back-end system. If there is a user mapping to a user in the AS Java, the user viewer displays the public information from the user profile as described above.

If either request does not find a user, the user viewer display the search screen as if no parameters were passed.

Procedure

...

       1.      Determine what custom attributes to show in the user viewer iView.

If you have custom attributes in the user profiles, you can make them viewable in the user viewer.

To make custom attributes visible in the user viewer, edit the UME property ume.admin.public.addattrs.

For more information, see Editing UME Properties.

Caution

If you edit the UME property, you must restart the AS Java.

       2.      Assign the necessary authorizations.

Create a role with the relevant UME action and assign the role to a group of users, such as authenticated users.

       To enable users to view users in all companies, assign UME.User_Viewer_All_Companies.

       To enable users to view users in just their own company, assign UME.User_Viewer.

Result

Users with user viewer authorizations can now use the user viewer. You need to determine how users access the user viewer.

      You can use the user viewer as a standalone application.

Use the following URL:

http://<host>:<port>/webdynpro/dispatcher/sap.com/tc~sec~ume~wd~enduser/UserViewerApp

      You can build the user viewer iView into a page on the portal.

The user viewer iView is in the portal content directory (PCD) under the following path:

/Content Provided by SAP/Admin Interfaces/Admin iView Templates/User Details

Example

Uri Kwan has a user in the AS Java with the user ID ukwan. Uri is mapped to the user KWAN in the back-end system DEV_SYS. Below are examples of how to use the URL parameters:

      To look up Uri’s public profile with just the user ID, use the following URL:

http://<host>:<port>/webdynpro/dispatcher/sap.com/tc~sec~ume~wd~enduser/UserViewerApp?userID=ukwan

      To perform a reverse look up Uri’s public profile with the back-end user ID and system alias, use the following URL:

http://<host>:<port>/webdynpro/dispatcher/sap.com/tc~sec~ume~wd~enduser/UserViewerApp?userID=KWAN&systemAlias=DEV_SYS

More Information

Adding Custom Attributes to the User Profile

Configuring Simple Search

Content Administration

End of Content Area