IBM Support

How to generate the list of Rational DOORS usernames with their assigned roles

Question & Answer


Question

How do you generate the list of IBM Rational DOORS usernames with their assigned roles?

Cause

This will help you to analyze what user roles has been assigned to Rational DOORS users.

Answer

To generate the list of IBM Rational DOORS usernames with their assigned roles, apply the following steps:

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

  1. Open Rational DOORS Client

  2. Click on Tools > Edit DXL

  3. Copy paste the following DXL script and click on Run


    User user
    Group group
    UserClass uClass

    for user in userList do
    {
    string uName = user.name
    uClass = user.class
    print uName " -- " stringOf(uClass) "\n"

    for group in groupList do
    {
    string gName = group.name
    bool b = member(group, user)
    if (b)
    {
    print " Is a member of: " gName "\n"
    }
    }
    }


  4. This will generate the list of usernames with their assigned roles

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.3.0.4;9.3.0.3;9.3.0.2;9.3.0.1;9.3;9.2.0.5;9.2.0.4;9.2.0.3;9.2.0.2;9.2.0.1;9.2;9.1.0.2;9.1;9.0;8.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21503248