Skip to main content
1-Visitor
July 15, 2016
Solved

List of all disabled/expired user account

  • July 15, 2016
  • 4 replies
  • 2970 views

Is There a way to generete a report or a list of all windchill users which have the account disabled or expired?

Does this list be retrived from windchill or from WindchillDS?

I try to do a report listing the user "Disabled", but this is not what I need; I need all the user in the LDAP with the account disabled or expired.

Query Builder.png

Does anyone know how can I have this information?

Thanks in advance

Best answer by ChrisSpartz

Query builder will only query the Windchill database. The Windchill DB doesn't store information on whether LDAP accounts are disabled/expired. All the Windchill DB stores is the Disabled column on the WTUser table that you show above, which indicates that a user has been deleted from Windchill. In order to get a list of disabled/expired LDAP accounts, you will need to query the LDAP.

4 replies

13-Aquamarine
July 21, 2016

Query builder will only query the Windchill database. The Windchill DB doesn't store information on whether LDAP accounts are disabled/expired. All the Windchill DB stores is the Disabled column on the WTUser table that you show above, which indicates that a user has been deleted from Windchill. In order to get a list of disabled/expired LDAP accounts, you will need to query the LDAP.

1-Visitor
July 22, 2016

Thank you Chris, I supposed what you said but I hoped there was a solution different to write java code to query the ldap.

MarcoTosin
21-Topaz I
July 22, 2016

Ciao Giovanni,

there is an article from TS which explain how to put together user and groups with query builder using Java method.

https://support.ptc.com/appserver/cs/view/solution.jsp?source=subscription&n=CS22167

If you work with query builder I suggest you also to join this group Reporting and to take a look at this document Resource for reporting

Marco