Btw: Those cryptic error codes are no way to confuse people :)
There is an SOAP/REST call to get a localized message for every error id:
http://incubator.apache.org/openmeetings/UserService.html#getErrorByCode

However, I think we should generate a page in our docs that shows a list
with the errors in a table.
I will look at a way how we can generate this website, similar to the way
the SOAP/REST API Reference is generated.

Sebastian

2012/5/24 Maxim Solodovnik <solomax...@gmail.com>

> I think
> sorry
>
>
> On Thu, May 24, 2012 at 9:31 AM, Maxim Solodovnik <solomax...@gmail.com>wrote:
>
>> I thing you need to perform steps
>> 1) 2) 4) 5) for the second login
>>
>>
>> On Thu, May 24, 2012 at 9:26 AM, madkoala (m...@madkoala.net) <
>> m...@madkoala.net> wrote:
>>
>>>  Hello. I'm working on integrating OM 1.9.1 and .NET Application
>>> (written in C#).
>>> Almost all features are working well, but there's a serious problem.
>>>
>>> Once I logged in, I can enter conference room successfully.
>>> But, after then, I can't move to another conference room.
>>> setUserObjectAndGenerateRoomHashByURL returns -26 (Admin authorization
>>> required).
>>>
>>> Here's my scenario.
>>>
>>> 1. call omUser.getSession();
>>> 2. call omUser.loginUser(omSession.session_id, 'admin', 'password', out
>>> retval, out retvalSpecified);    → 'admin' has administrator's rights
>>> in OM.
>>> 3. call omRoom.getRoomsPublic(omSession.session_id, 1, true); → this
>>> returns list of public conference rooms successfully.
>>> 4. call string roomHash =
>>> omUser.setUserObjectAndGenerateRoomHashByURL(omSession.session_id,
>>> "madkoala", "my", "name", string.Empty, 
>>> "madko...@gmail.com"<madko...@gmail.com>,
>>> 10, true, "my external system", room.rooms_id.Value, true, 0, true, 1,
>>> true);
>>>     → 'madkoala' is my external system id (doesn't exists in OM now)
>>> 5. I can access conference room with that room hash. (
>>> http://myhost/openmeetings/?secureHash=roomHash)
>>> 6. When I try to join another conference room with same procedure 4-5
>>> above, setUserObjectAndGenerateRoomHashByURL returns -26.
>>> 7. Only after changing user type of 'madkoala' in OM to administrator,
>>> it works well.
>>>
>>> So, here's my question.
>>> 1. Are there any way to change user rights to administrator
>>> programmatically using SOAP?
>>> 2. Are the procedures above correctly implemented?
>>> 3. Is there a way to make it work (moving to another conference room)
>>> without changing user type?
>>>
>>> Thank you in advance.
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com

Reply via email to