loginUser authorizes user who make all subsequent calls setUserObjectAndGenerate* creates/retrieves user and generates secureHash
this API was written for CMS integration externalUserId is the id in CMS (external system) externalUserType is unique name for the external system being integrated becomeModeratorAsInt should work maybe some room restrictions are in account On 17 October 2014 23:14, Dario Guida <produzion...@infotelsistemi.com> wrote: > 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", “m...@mail.com”, “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 > -- WBR Maxim aka solomax