FileRegistryCommands command group for the AdminTask object

Federated repositories provides a file registry. Use the commands in the FileRegistryCommands command group to administer the file registry using the wsadmin tool.

Use the following commands in the FileRegistryCommands group to modify the federated repository file registry:

addFileRegistryAccount command

The addFileRegistryAccount command adds an account to the file registry. You must save your configuration changes after running this command to save the new account to the master repository.

Target object

None

Required parameters

-userId
Specifies the ID of the user to add to the file registry. (String, required)
-password
Specifies the password of the user to add to the file registry. (String, required)

Optional parameters

-parent
Specifies the parent of the entity. (String, optional)
.

Return value

This command returns a message that indicates that the command ran successfully, as the following example displays:
'CWWIM4544I Account newAcct(uid=newAcct,o=defaultWIMFileBasedRealm) is stored in the
file registry in the temporary workspace. You must use the "$AdminConfig save" 
command to save it in the master repository.'

Batch mode example usage

Interactive mode example usage

changeFileRegistryAccountPassword command

The changeFileRegistryAccountPassword changes the password for the file registry account.

Target object

None.

Required parameters

-userId
Specifies the user ID of interest. (String, required)
-password
Specifies the new password. (String, required)

Optional parameters

-uniqueName
Specifies the fully-qualified unique name of the administrator. (String, optional)

Return value

This command returns a message that indicates that the command ran successfully, as the following example displays:
'CWWIM4545I The password is changed for newAcct(uid=newAcct,o=defaultWIMFileBasedRealm)
in the file registry in the temporary workspace. You must use the "$AdminConfig save" 
command to save it in the master repository.'

Batch mode example usage

Interactive mode example usage




Related concepts
Federated repositories
Related tasks
Configuring a single built-in, file-based repository in a new configuration under federated repositories using wsadmin
Setting up an entry mapping repository, a property extension repository, or a custom registry database repository using wsadmin commands
Related reference
IdMgrConfig command group for the AdminTask object
IdMgrRepositoryConfig command group for the AdminTask object
Reference topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 7:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=rxml_fileregistrycmds
File name: rxml_fileregistrycmds.html