User Tool enables you to add user groups authorized to server resources. For example, DBTool cannot start creating pools without available groups, so the system administrator must first create the user groups.
This task is performed in the following steps:
The usertool script file is located in <SAPj2eeEngine_install_dir>/tools directory.
This XML file is organized hierarchically, and requires the following structure:
<user-tool>
<!-- exactly 1 <login-info> must be specified -->
<!-- the tag <port> is optional -->
<login-info>
<host>localhost</host>
<port>3011</port>
<user-name>Administrator</user-name>
<user-password />
</login-info>
<!-- (0..n) <group> must be specified -->
<!-- at least 1 <parent-group> must be specified per <group> ->
<!-- if group already exists, the parents are added -->
<group>
<name>financial</name>
<parent-group>manager</parent-group>
</group>
<group>
<name>manager</name>
<parent-group>root</parent-group>
</group>
</user-tool>
The
<login-info>
tag defines the login properties of the new user group with their values:
<host>
–
localhost
<port>
(optional) –
3011
<user_name>
–
Administrator
<user_password>
– an empty valueThe
<group>
tag defines the new group name and its parent group:
<name>
– specifies the name of the group<parent-group>
– specifies the name of the parent group. In this example, the group named
financial
is included as a child group of the
manager
parent group.