WAS v8.5 > Reference > Commands (wsadmin scripting)IdMgrDBSetup command group for AdminTask
We can use the Jython or Jacl scripting language to manage the federated repository schema using wsadmin. Use the deleteIdMgrPropertyExtensionEntityDatacommand and its parameters in the IdMgrDBSetup group to manage the property extension repository. The command is available in both connected and local mode using the –conntype NONE option.
deleteIdMgrPropertyExtensionEntityData
The deleteIdMgrPropertyExtensionEntityData command deletes property data from the property extension repository. The command also releases the space that is held by the property data in the property extension repository.
Target Object None.
Required parameters
- -name
- Specify the name of the property for which the data is to be deleted.
We can use a valid namespace prefix to refer to the property in a specific namespace. The default namespace prefix is wim. Use a colon (:) as the delimiter to specify the namespace prefix. For example, we can use your_ext:contact_number
- your_ext is the namespace prefix.
- contact_number is the property name.
(String, required)
Specify the same namespace prefix that we used to extend the property. We can use the listIdMgrPropertyExtensions command, which is part of the IdMgrDataModel command group, to retrieve this value.
Optional parameters
- -entityTypeNames
- Specify the name of one or more existing entity types for which the property data is to be deleted. Use the semicolon (;) as the delimiter to specify multiple entity types.
We can use a valid namespace prefix to refer to the entity type names in a specific namespace. The default namespace prefix used is wim. Use colon (:) to specify the namespace prefix. For example, we can use your_ext:person_account
- your_ext is the namespace prefix.
- person_account is the entity type name.
(String, optional)
Specify the same namespace prefix that we used to extend the property. We can use the listIdMgrPropertyExtensions command, which is part of the IdMgrDataModel command group, to retrieve this value.
- -dbAdminId
- Specify the login identity of the database administrator when we run this command in the local mode.
(String, optional)
- -dbAdminPassword
- Specify the password of the database administrator when we run this command in the local mode.
(String, optional)
Examples
Batch mode example usage:
- Jacl:
$AdminTask deleteIdMgrPropertyExtensionEntityData {-name property_name_1}
- Jython string:
AdminTask.deleteIdMgrPropertyExtensionEntityData ('[-name property_name_1]')
- Jython list:
AdminTask.deleteIdMgrPropertyExtensionEntityData (['-name', 'property_name_1'])
Interactive mode example usage:
- Jacl:
$AdminTask deleteIdMgrPropertyExtensionEntityData {-interactive}
- Jython string:
AdminTask.deleteIdMgrPropertyExtensionEntityData ('[-interactive]')
- Jython list:
AdminTask.deleteIdMgrPropertyExtensionEntityData (['-interactive'])
Related
Use the wsadmin scripting AdminTask object for scripted administration
Reference:
Commands for AdminTask using wsadmin.sh
IdMgrDataModel command group for AdminTask