I think you need to use an MgByteSink to avoid loosing data from the
MgByteReader.
Regards, Kenneth Skovhede, GEOGRAF A/S
sairam skrev:
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 <[email protected]> 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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users