![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Extracting all users from a specific group Topic Summary: Created On: 3-Apr-2003 20:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Pete, The attached code will extract all members from all groups in the database. If you want to specify the group, then use the find() command for groups instead of looping over all groups. Mark | |
![]() |
|
Hello,
does anyone have a script handy to extract all users from a specific group? Thanks. ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
Pete,
The attached code will extract all members from all groups in the database. If you want to specify the group, then use the find() command for groups instead of looping over all groups. Mark ------------------------- Mark Phillips mark.phillips@swri.org |
|
![]() |
|
![]() |
|
I'm a newbie to DOORS and starting to learn DXL (have little programming experience). I have tried the code posted by Mark but I can't get the find function to work to extract all users from the group "BTTS PRO TOM". Can someone tell me what I'm doing wrong?
// Script to extract all user names from all groups in the database /* Contributors: MLP - Mark Phillips, Southwest Research Institute Revision History: 2003/04/03 - MLP - Initial Release */ User usr Group group //Loop over all groups for group in groupList do { string gName = group.name print gName " Members:\n" //Loop over all users in the current group for usr in group(string ""BTTS PRO TOM") do { string uName = usr.name print "\t" uName "\n" } } |
|
![]() |
|
![]() |
|
Pelp - try
Group group User usr string admin = "BTTS PRO TOM" group = find admin if(existsGroup admin) { for usr in group do { string uName = usr.name print "\t" uName "\n" } } Sara |
|
![]() |
|
![]() |
|
Here's a short script I wrote to extract information from the user database. You can choose to export a user list or a group list. The export format is either a comma- or tab-separated text file. All of your options are self-explanatory once you load and run the program.
You must have admin rights in the database for the user-list export to work. -Dennis |
|
![]() |
|
![]() |
|
Fixed a bug during Group List export. Use this new script.
-Dennis |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Extracting all users from a specific group
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.