Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Automating user admin tasks
Topic Summary:
Created On: 2-Nov-2006 15:12
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 2-Nov-2006 15:12
User is offline View Users Profile Print this message


Michael Bourla

Posts: 10
Joined: 24-Jul-2003

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.