It's all about the answers!

Ask a question

Automating the user account creation in RTC.


Jazzuser user (68749) | asked May 02 '17, 1:10 a.m.

Hello All,

We are trying to create the user account automatically.

Curently we have got a sample code from : https://www.ibm.com/developerworks/rational/library/automate-management-rational-team-concert-users/

However I am finding difficulty in identifying the jar for : CreationInfo, as this this showing error.

Below is the sample code snippet.

public CreationInfo createObject(final String typeName,
            final Map<String, ?> state,final Map<String, Object> returnedState,
            final List<String> propertyNames,final IExternalRepositoryConnection externalConnection,final IProcessArea processArea) {
                                 
            URI uri = null;
            String address = (String) state.get("address");
            String name = (String) state.get("name");
            String userId = (String) state.get("user_id");
            Map<String,String> UserMap =new HashMap<String,String>();             
            Map<String,String> externalState = new HashMap<String, String>();         
// Some more here
}

Can anyone assist me on which jar/library to be used for this.

Thanks.


Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered May 03 '17, 2:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 03 '17, 2:05 a.m.
Jazzuser user selected this answer as the correct answer

Comments
Jazzuser user commented May 03 '17, 2:16 a.m.

Thanks a lot for the reply Ralph. This links helped me :)

One other answer



permanent link
Donald Nong (14.5k414) | answered May 02 '17, 2:08 a.m.

While I cannot answer your question directly, I believe you can ignore this class completely. The code that you mentioned is in the class SyncUserRTCToExt, which is used to synchronize users from RTC to the external user repository. Unless you really have to do it, for example, migrating from one type of user repository to another, you don't need to worry about this class at all.


Comments
Jazzuser user commented May 03 '17, 1:20 a.m. | edited May 03 '17, 1:21 a.m.

Thanks a lot for the reply Donald.
As you suggested, we will not consider that class now.
But
1. is there any way i can check if the user already has access to RTC ?
2. How to give access to some specific role like team member, project lead ?
2. also if I want to provide access to particular project area ?

Are there any API s or sample codes ?  so that i can build upon ?
Please help me on this.

Thanks


Your answer


Register or to post your answer.