Export a list of users from Windchill 10.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Export a list of users from Windchill 10.2
Hello,
This is the question. I see this was asked/answered back in 2006 with respect to Intralink 3.4. What about Windchill 10.2? I can't find out any info from the knowledge base or product docs.
Thanks!
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Invisigoth,
This functionality is not availble from UI to export users list to any human readable format. But you can definetly use WC API to get list of all users.
You can below code snippet:
QuerySpec qs = null; QueryResult qr = null; qs = new QuerySpec(WTUser.class); qs.appendWhere( new SearchCondition(WTUser.class, WTUser.NAME, SearchCondition.LIKE, "%", false), new int[] {}); System.out.println(" QS :: " + qs); qr = PersistenceHelper.manager.find((StatementSpec)qs);
I hope this helps you.
Thanks,
Shirish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you Shirish.
This confirms what I suspected, that this would be something done programmatically.
Where or how would I use such code? From your reply, I am understanding that I would need to create some sort of a program that would use your snippet to extract a user list. This is a bit beyond my paygrade, so I appreciate any further info to be able to explain this to the interested parties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
