Run Profiles administrative commands
Scripts are used to administer the Profiles application. These scripts use the AdminConfig object available in IBM WAS wsadmin client to interact with the Profiles server.
Before starting
To run administrative commands, use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
You cannot use administrative tools to add or remove a profile from your LDAP directory system. You must use that directory's native tools to create and delete profiles.
The scripts used to administer Profiles give an administrator (who otherwise would not have access to edit a user's profile data), the ability to edit various fields in a user's profile. For example, one use of the capability is to remove unwanted or inappropriate content.
Unlike with configuration properties, when you use administrative commands to change server administration properties, you do not have to check out any files nor restart the server. Your changes take effect immediately.
Procedure
To run administrative commands, from the dmgr host..cd $DMGR_PROFILE/bin
./wsadmin.sh -jython
execfile("profilesAdmin.py")
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.
No file checkout or server restart is needed when using these commands.
Parent topic
Administer Profiles