Hi guys.
I am trying to use the GetRoomHash of service web service in order to
redirect my user to a room without forcing the user to log in manually.
I am following this <http://openmeetings.apache.org/RestAPISample.html>
tutorial.
The code sample I am using is as follows. (C#)
There is an API in which I am generating hash code.
I am redirecting to my open-meeting installation with the use of the code.

            var user = "admin";
>             var pass = "adminpass";
>             var openMeetingUserService = new
> Openmeetings.UserWebServiceClient();
>             var loginResult = await
> openMeetingUserService.loginAsync(user, pass);
>             if (loginresu...@return.type != "SUCCESS")
>                 throw new UserFriendlyException("Error in
> platform.tutykid.com login.");
>             var sid = loginResult.@return.message;
>
>
>             var roomHash = await
> openMeetingUserService.getRoomHashAsync(sid, new
> Openmeetings.externalUserDTO
>             {
>                 externalId = "id89",
>                 externalType = "Tutykid",
>                 firstname = "Farid",
>                 lastname = "External",
>                 login = "externaluser1"
>             }, new Openmeetings.roomOptionsDTO
>             {
>                 allowSameURLMultipleTimes = true,
>                 roomId = roomId,
>                 moderator = true
>             });
>             return new GoToRoomOutput { RoomHash = roomHash.@return.message
> };
>

And the url I have generated based on the hash code/.

https://myinstallationhost/openmeetings/hash?secure=7d34224f-04c8-4546-87a9-f83c36ea03b1#id6


Could anyone please help me on this issue. I have tried almost three days
but not found any workaround.

Thanks in advance.

Reply via email to