Upgrading user information from a schema repository to a user database
- UpgradeInfo method of the User object
Upgrades one user (that is, one User object) in all databases the user is subscribed to. It does not update group memberships, and only updates user properties such as is-active, e-mail, full name, and phone.
- UpgradeMasterUserInfo method of the Database
object
Upgrades all user and group information for one database, including the user and groups records and group memberships.
- Get a list of user databases in the schema repository, iterate through each one calling the UpgradeMasterUserInfo method of the Database object.
- Call the UpgradeInfo method of the User object.
For newly created users, if you create new Rational® ClearQuest® users by using the CreateUser method of the AdminSession object and set privileges, password, and other user information that you want propagated from a schema repository to user databases, you must use the UpgradeMasterUserInfo method of the Database object (by iterating through a list of user databases in the schema repository and calling UpgradeMasterUserInfo for each user database).
The UpgradeInfo method was introduced (in version 2003.06.00) to provide a way to propagate user and group information from the schema repository to all affected user databases. However, the method only works for an existing user and not for a newly-created user.