Can I know all users details who created the repository workspace and loaded the components
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.
Please let us know is there any way to generate this report using JAVA. Please let me know if you need more information.
Thanks & Regards,
Pheneendra G
2 answers
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
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.