in the client side , there are only two levels for user, morderator or user.
you can find code in openmeetings/base/auth/checkLoginData.lzx line:432

if (value.level_id >= 2) {
                     canvas.becomemoderator = true;
                    } else {
                        canvas.becomemoderator = false;
                    }

so , to check the user level , you can simply check whether
canvas.becomemoderator is true or false;

On Wed, Apr 6, 2011 at 11:43 PM, amjad yahya <[email protected]>wrote:

> I am trying to enable and disable the audio/video feature based on the
> current loged in user level (user/moderator/admin).
> would you please advise what is the appropriate code to check the current
> user level .
> Thanks .
>
>  --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>



-- 
Best Regards!
Hai Yuan(Tony)
袁海

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to