CleanupUsers.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2005, 2006. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <!--
  23. Use this sample to identify users and groups in your portal
  24. database who have been removed from the user registry, but
  25. not from the portal database, or users who have been muted,
  26. for example after too many wrong password attempts.
  27. In order for the file to work properly, you must set both
  28. attributes cleanup-users and export-users to true. Running
  29. this sample file results in a file that lists those users and
  30. groups and marks them for deletion.
  31. The result file also lists all users who have been muted, for
  32. example after too many wrong password attempts.
  33. Before you re-import the file, check the file and remove all
  34. users and groups that you want to keep in the portal database.
  35. During XML import all users and groups that remain listed in
  36. the file will be removed from the portal database.
  37. NOTE: After deleting these entries via the modified XML script,
  38. all customizations are lost for the deleted users and groups.
  39. -->
  40. <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  41. xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd"
  42. type="export" export-users="true" cleanup-users="true">
  43. <portal action="locate">
  44. <user action="export" objectid="*"/>
  45. <group action="export" objectid="*"/>
  46. </portal>
  47. </request>