Hi Netbuilder,

there are several attributes,
in the user-object for each logedin user there is a variable to see that:

canvas.thishib.userobject.level_id

level_id = 1 User
level_id = 2 Moderator
level_id = 3 Admin

However if a user comes via SOAP of course there is no such object.


Sebastian

2010/10/1 Netbuilder <[email protected]>

> Hi everyone,
> is there a global var to know if the user logged in is an Admin? I
> know that it's possible to use isModerator, but I need to know if it's
> the admin user. Is it possible? I started develop yesterday and I'm
> sorry if the question is stupid.
> Thank you.
>
> --
> 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]<openmeetings-user%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
[email protected]

-- 
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