xmlaccess/xml/CleanupUsers.xml

51 lines
2.2 KiB
XML
Raw Normal View History

2020-07-12 12:30:37 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
=================================================================
* Licensed Materials - Property of IBM
* (c) Copyright IBM Corp. 2005, 2006. All rights reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM
* Corp.
*
* DISCLAIMER OF WARRANTIES. The following [enclosed] code is
* sample code created by IBM Corporation. This sample code is
* not part of any standard or IBM product and is provided to you
* solely for the purpose of assisting you in the development of
* your applications. The code is provided "AS IS", without
* warranty of any kind. IBM shall not be liable for any damages
* arising out of your use of the sample code, even if they have
* been advised of the possibility of such damages.
*
=================================================================
-->
<!--
Use this sample to identify users and groups in your portal
database who have been removed from the user registry, but
not from the portal database, or users who have been muted,
for example after too many wrong password attempts.
In order for the file to work properly, you must set both
attributes cleanup-users and export-users to true. Running
this sample file results in a file that lists those users and
groups and marks them for deletion.
The result file also lists all users who have been muted, for
example after too many wrong password attempts.
Before you re-import the file, check the file and remove all
users and groups that you want to keep in the portal database.
During XML import all users and groups that remain listed in
the file will be removed from the portal database.
NOTE: After deleting these entries via the modified XML script,
all customizations are lost for the deleted users and groups.
-->
<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd"
type="export" export-users="true" cleanup-users="true">
<portal action="locate">
<user action="export" objectid="*"/>
<group action="export" objectid="*"/>
</portal>
</request>