It's all about the answers!

Ask a question

Automating the user account creation in RTC.

Jazzuser user (68447) | 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 :

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.


Accepted answer

permanent link
Ralph Schoon (62.7k33643) | answered May 03 '17, 2:03 a.m.
edited May 03 '17, 2:05 a.m.
Jazzuser user selected this answer as the correct answer

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.

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.
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.


Your answer

Register or to post your answer.