[mapguide-users] Check user access
sairam
ramsai1973 at GMAIL.COM
Mon Mar 30 06:54:56 EDT 2009
Hi,
I tried by writing
MgByteReader reader = siteconnection.GetSite().EnumerateGroups("[Groupname]");
reader --> returns the list of users in xml format... but It temporarily stores the information looses the information soon after assigning it to any other variable.
Please Kindly help with a solution for this with a snippet.
Thanks in advance,
Ram
the api docs are pretty good
http://mapguide.osgeo.org/files/mapguide/docs/2.0/d0/d8c/class_mg_site.htm
z
On Wed, Mar 25, 2009 at 7:46 PM, sairam <ramsai1973 at gmail.com> wrote:
>
> Hi all,
>
> I have created 2 groups- group1 and group2 in the Mapguide site administrator.
> Group1 - The users in this group has administrative rights.
> Group2 - The users in this group are normal users without administrative rights.
>
> I need help to check the user in the current session belongs to Group1 or Group2.
> as I am new to mapguide APIs.
> please kindly help me illustrating with a sample code snippet.
>
>
> Thanks in advance,
>
> Ram
> --
> View this message in context: http://n2.nabble.com/Check-user-access-tp2531276p2531276.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--
View this message in context: http://n2.nabble.com/Check-user-access-tp2531276p2556617.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list