![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Automating user admin tasks Topic Summary: Created On: 2-Nov-2006 15:12 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm looking to automate some routine Synergy/Change user admin tasks we currently do manually, either using the perl API or ccm cli commands. Have looked at all the documentation but can't find out how to do it, so any help would be appreciated!
Here are the things I want to be able to do programmatically from a perl script: a) add a new user - including userid, first & last name, password, email address and database roles (eg developer, build_mgr etc) b) modify an existing user's database roles ie add roles, remove roles c) reset an existing user's password, when they've forgotten their password. Possible approaches I have found for (a) using the perl API are: - AddUser()/AddUsers() will add users incl roles, but not set their email address or first/last names. - ImportUsersFromAFile() will add users, but not set their roles. (perhaps this can be used in "overwrite" mode to set profile values after using AddUser()?) For (b) I have found no way of doing this using the perl API. Using the CLI "ccm users" command can add/remove roles, but is it possible to automate that so it can be run from a perl script without anyone having to manually edit the users list? For (c) I also can find no way of doing this. Thanks in advance! Michael |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
Automating user admin tasks
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.