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:
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. |
---|
- Open Rational DOORS Client
- Click on Tools > Edit DXL
- 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"
}
}
}
- This will generate the list of usernames with their assigned roles
Related Information
Was this topic helpful?
Document Information
Modified date:
01 May 2020
UID
swg21503248