<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think you need to use an MgByteSink to avoid loosing data from the
MgByteReader.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
sairam skrev:
<blockquote cite="mid:1238410496255-2556617.post@n2.nabble.com"
 type="cite">
  <pre wrap="">Hi,
I tried by writing 

MgByteReader reader = siteconnection.GetSite().EnumerateGroups("[Groupname]");

reader  --&gt; 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

<a class="moz-txt-link-freetext" href="http://mapguide.osgeo.org/files/mapguide/docs/2.0/d0/d8c/class_mg_site.htm">http://mapguide.osgeo.org/files/mapguide/docs/2.0/d0/d8c/class_mg_site.htm</a>

z

On Wed, Mar 25, 2009 at 7:46 PM, sairam <a class="moz-txt-link-rfc2396E" href="mailto:ramsai1973@gmail.com">&lt;ramsai1973@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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: <a class="moz-txt-link-freetext" href="http://n2.nabble.com/Check-user-access-tp2531276p2531276.html">http://n2.nabble.com/Check-user-access-tp2531276p2531276.html</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
</body>
</html>