It's all about the answers!

Ask a question

scm list users


K M (38325051) | asked Nov 14 '12, 1:52 p.m.
I assume scm list users will list the all the users in the rtc system, it seems not to work I keep getting the following when running the command

H:\>scm --config C:\tools\rtc_login_kjm list users -r https://cognosrtc.ottawa.ibm.com:9443/jazz/
Problem running 'list users':
Run the command with --noUserIds option. Try 'scm help list users' for more information.

if I put in the --noUserIds option it works
H:\>scm --config C:\tools\rtc_login_kjm list users --noUserIds -r https://cognosrtc.ottawa.ibm.com:9443/jazz/

H:\>
I am using RTC  V3.014

2 answers



permanent link
K M (38325051) | answered Nov 14 '12, 2:46 p.m.
So can we change this as an enhancement.     
Listing the users on your RTC system seems to be a pretty basic operation.

Comments
Tim Mok commented Nov 14 '12, 4:48 p.m.
JAZZ DEVELOPER

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.newWorkItem

That is the link to log an enhancement. This is a forum for asking questions so your post cannot be converted into an enhancement.

I'm not quite sure why the --noUserIds option is mandatory and seems to be quite confusing. I think the original intention was to use this for finding users that were imported or replicated from another server so that may explain why it cannot list all users. This is a command line client for SCM so it may not have taken your use case into consideration.


permanent link
Andrew Niefer (7135) | answered Nov 14 '12, 2:41 p.m.
JAZZ DEVELOPER
Unfortunately there does not appear to be a command to list all the users.

The "list users" requires the "--noUserIds" option and it only lists the users that do not have an id set.  This can then be combined with "user set" to set the id for that user.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.