Can I know all users details who created the repository workspace and loaded the components
Pheneenda gadipoodi (1●1●7●10)
| asked Oct 24 '13, 2:25 a.m.
retagged Dec 16 '13, 1:28 p.m. by David Lafreniere (4.8k●7)
We have some streams and several components. For auditing purpose we want to create a report with details like user names who created repository workspace and what components he/she loaded.
Thanks & Regards, Pheneendra G |
2 answers
Hi Pheneendra. Via IWorkspaceConnection you can find out who created the workspace, and which components it has, but not which have been loaded. There is nothing in the representation of IWorkspace or IWorkspaceConnection, or anything else server-side, to keep track of which components have been loaded.
This is tracked only client-side, where IShare objects keep track of which top-level items (often corresponding to Eclipse projects) are loaded, from which repository workspace, and in which local sandbox i.e. filesystem location.
See:
com.ibm.team.filesystem.client.FileSystemCore.getSharingManager()
com.ibm.team.filesystem.client.ISharingManager.allShares(IProgressMonitor)
com.ibm.team.filesystem.client.IShare.getSharingDescriptor()
com.ibm.team.filesystem.client.ISharingDescriptor.getComponent()
com.ibm.team.filesystem.client.ISharingDescriptor.getConnectionHandle()
The connection handle can be cast down to IWorkspaceHandle.
Comments
Pheneenda gadipoodi
commented Nov 28 '13, 11:50 p.m.
Thank you very much for your quick answer Nick.
I'm not familiar with JPJC. What does that stand for?
As for the code, it should be pretty straightforward, essentially calling the methods in sequence on the previous result.
|
Hi Pheneenda,
You can get the details who has created RWS on particular Stream.
Right Click on Stream and Select New Flow Diagram.
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/c_
Note: you need the Admin privilege on the repository.
Regards,
Arun.
Comments
Pheneenda gadipoodi
commented Nov 28 '13, 3:45 a.m.
Thanks for your response Arun. However I want to get this information using JAVA program.
|
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.