I don't understand how the setUserObjectAndGenerateRoomHash work.

 

I post How I use it in java with Soap WebService

 

Step 1 :  SESSION ID 

 

Sessiondata session = userEndPoint.getSession();

sessionId = session.getSession_id();

 

Step 2 : LOGIN USER

 

long userId = userEndPoint.loginUser(sessionId, username, password);

 

Step 3 :  ROOM HASH

 

String roomHash = userEndPoint.setUserObjectAndGenerateRoomHash(sessionId,
username, "firstName", "lastName", "xx", "[email protected]", "99" , "APP", 30,
1 , 0);

 

I don't understand : 

 

1)  What is externalUserId and externalUserType and what they do?

2)  Why the system create a new User with username, "firstName", "lastName"
?? I have used a valid user in        loginUser() and I have associated an
hash to this user or I don't understand???

3)  Why if I set becomeModeratorAsInt = 1 when I enter in the room .the
system show me the message "wait for moderator" ?? I have checked the the
username password I  use in loginUser have admin,Soap,login permissions.

 

Thanks to all       

Reply via email to