1) you need to supply separate externalUserId on *each user*,  same
externalUserId
for same users
2) use setUserObjectAndGenerateRoomHashByURLAndRecFlag and set $becomeModerator
to "1"

On Fri, Aug 21, 2015 at 6:18 PM, Jibon L. Costa <[email protected]>
wrote:

> I have another question... Is there any way to disable make only one
> moderator so that he has whiteboard edit permission? I mean at present
> when I try to login from webpanel to that conference as admin, I can
> see I can edit whiteboard but at the same time the other user who had
> used SOAP api to access the conference room can edit the whiteboard
> too. Can I disable SOAP user not to edit whiteboard & only can see
> whiteboard as a general user? I tried to set value of
> becomeModeratorAsInt  to 0 but still he can access it. Any suggestion?
>
> On 8/21/15, Jibon L. Costa <[email protected]> wrote:
> > WoW !!! Thank you very much :). It's just working perfect now.
> >
> > So, What I am understanding I will need to supply separate
> > externalUserId on each request? or just anything to make system
> > identify?
> >
> > On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >> externalUserType is "unique" identifier of your PHP module (to separate
> >> users in case of multple modules are connected to the same OM instance)
> >> externalUserId is "unique" user id inside your system
> >>
> >> On Fri, Aug 21, 2015 at 4:49 PM, Jibon L. Costa <[email protected]
> >
> >> wrote:
> >>
> >>> No Sorry. What are those? I keep blank those
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> Thanks & Regards
> >>>
> >>> Jibon Lawrence Costa
> >>>
> >>>
> >>>
> >>> *From:* Maxim Solodovnik [mailto:[email protected]]
> >>> *Sent:* 21 আগস্ট 2015 PM 04.48
> >>> *To:* Openmeetings user-list <[email protected]>
> >>> *Subject:* Re: User to access Meeting room only
> >>>
> >>>
> >>>
> >>> Have you specified externalUserId, externalUserType parameters?
> >>>
> >>> WBR, Maxim
> >>> (from mobile, sorry for the typos)
> >>>
> >>> On Aug 21, 2015 13:21, "Jibon L. Costa" <[email protected]>
> wrote:
> >>>
> >>> I was using this library
> >>> https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/
> .
> >>>
> >>> require_once("openmeetings_gateway.php");
> >>> $options = array(
> >>>                                 "protocol" => "http",
> >>>                                 "port" => 5080,
> >>>                                 "host" => "167.XX.XX.XX",
> >>>                                 "webappname" => "openmeetings",
> >>>                                 "adminUser" => "admin",
> >>>                                 "adminPass" =>"admin12345",
> >>>                 );
> >>>
> >>> $access = new openmeetings_gateway($options);
> >>> $access->loginuser();
> >>> print_r($access->setUserObjectAndGenerateRoomHash("Boss", "jibon",
> >>> "Costa", "", "[email protected]", "", "", 13, 0, 1));
> >>>
> >>>
> >>>
> >>> On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >>> > What were your steps to generate hash?
> >>> >
> >>> > WBR, Maxim
> >>> > (from mobile, sorry for the typos)
> >>> > On Aug 21, 2015 13:15, "Jibon L. Costa" <[email protected]>
> >>> > wrote:
> >>> >
> >>> >> Thanks but I am getting this error:
> >>> >>
> >>> >> Unknown error. Please report this to the administrator.
> >>> >>
> >>> >>
> >>> >>
> >>> >> On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >>> >> > http://localhost:5080/openmeetings/?secureHash=XXXXXXXXXXXXXXXXXX
> >>> >> >
> >>> >> > On Fri, Aug 21, 2015 at 4:06 PM, Jibon L. Costa
> >>> >> > <[email protected]>
> >>> >> > wrote:
> >>> >> >
> >>> >> >> Thanks Maxim, I think I was able to get SID by
> >>> >> >> setUserObjectAndGenerateRoomHash class. But now how I can get url
> >>> >> >> to
> >>> >> >> access the room? I mean what will be the url? I didn't find any
> >>> >> >> class
> >>> >> >> that will generate URL on that API :( but the instruction like
> >>> >> >> this:
> >>> >> >>
> >>> >> >> Description: sets the SessionObject for a certain SID, after
> >>> >> >> setting
> >>> >> >> this Session-Object you can use the SID + a RoomId to enter any
> >>> >> >> Room.
> >>> >> >>
> >>> >> >> Here I have SID & RoomId but what will be the url for access the
> >>> room?
> >>> >> >>
> >>> >> >> On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >>> >> >> > no wiki :(
> >>> >> >> > you can create one
> >>> >> >> > here are some basis:
> >>> >> http://openmeetings.apache.org/RestAPISample.html
> >>> >> >> > and you can search in mailing lists:
> >>> >> http://openmeetings.markmail.org/
> >>> >> >> >
> >>> >> >> > On Fri, Aug 21, 2015 at 3:10 PM, Jibon L. Costa
> >>> >> >> > <[email protected]>
> >>> >> >> > wrote:
> >>> >> >> >
> >>> >> >> >> Thanks again. I can't see any wiki there. Can you suggest some
> >>> wiki
> >>> >> to
> >>> >> >> >> use that library?
> >>> >> >> >>
> >>> >> >> >> On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >>> >> >> >> > sure:
> >>> >> >> >> >
> >>> >> >>
> >>> https://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/
> >>> >> >> >> >
> >>> >> >> >> > On Fri, Aug 21, 2015 at 3:00 PM, Jibon L. Costa
> >>> >> >> >> > <[email protected]>
> >>> >> >> >> > wrote:
> >>> >> >> >> >
> >>> >> >> >> >> Thanks for response. Can you suggest me PHP code for that?
> I
> >>> >> >> >> >> mean
> >>> >> >> >> >> any
> >>> >> >> >> >> PHP library?
> >>> >> >> >> >>
> >>> >> >> >> >> On 8/21/15, Maxim Solodovnik <[email protected]> wrote:
> >>> >> >> >> >> > This can be implemented using SOAP/REST API
> >>> >> >> >> >> >
> >>> >> >> >> >> > On Fri, Aug 21, 2015 at 2:41 PM, Jibon L. Costa
> >>> >> >> >> >> > <[email protected]>
> >>> >> >> >> >> > wrote:
> >>> >> >> >> >> >
> >>> >> >> >> >> >> Hi,
> >>> >> >> >> >> >>
> >>> >> >> >> >> >> In which type of user can access a specified room only?
> I
> >>> >> >> >> >> >> mean
> >>> >> I
> >>> >> >> >> >> >> want
> >>> >> >> >> >> >> user can access only one room but not like invitation.
> >>> >> >> >> >> >> They
> >>> >> will
> >>> >> >> >> >> >> put
> >>> >> >> >> >> >> their name & password to access the room. Is that
> >>> >> >> >> >> >> possible?
> >>> >> >> >> >> >>
> >>> >> >> >> >> >> --
> >>> >> >> >> >> >> Thanks & Regards
> >>> >> >> >> >> >> Jibon Lawrence Costa
> >>> >> >> >> >> >>
> >>> >> >> >> >> >
> >>> >> >> >> >> >
> >>> >> >> >> >> >
> >>> >> >> >> >> > --
> >>> >> >> >> >> > WBR
> >>> >> >> >> >> > Maxim aka solomax
> >>> >> >> >> >> >
> >>> >> >> >> >>
> >>> >> >> >> >>
> >>> >> >> >> >> --
> >>> >> >> >> >> Thanks & Regards
> >>> >> >> >> >> Jibon Lawrence Costa
> >>> >> >> >> >>
> >>> >> >> >> >
> >>> >> >> >> >
> >>> >> >> >> >
> >>> >> >> >> > --
> >>> >> >> >> > WBR
> >>> >> >> >> > Maxim aka solomax
> >>> >> >> >> >
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >> --
> >>> >> >> >> Thanks & Regards
> >>> >> >> >> Jibon Lawrence Costa
> >>> >> >> >>
> >>> >> >> >
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > --
> >>> >> >> > WBR
> >>> >> >> > Maxim aka solomax
> >>> >> >> >
> >>> >> >>
> >>> >> >>
> >>> >> >> --
> >>> >> >> Thanks & Regards
> >>> >> >> Jibon Lawrence Costa
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> > --
> >>> >> > WBR
> >>> >> > Maxim aka solomax
> >>> >> >
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Thanks & Regards
> >>> >> Jibon Lawrence Costa
> >>> >>
> >>> >
> >>>
> >>>
> >>> --
> >>> Thanks & Regards
> >>> Jibon Lawrence Costa
> >>>
> >>>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
> >
> >
> > --
> > Thanks & Regards
> > Jibon Lawrence Costa
> >
>
>
> --
> Thanks & Regards
> Jibon Lawrence Costa
>



-- 
WBR
Maxim aka solomax

Reply via email to