<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">To check your accounts.xml configuration, probably the best documentation is:</div><div class=""><br class=""></div><div class=""><a href="http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts-test.xml" class="">http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts-test.xml</a></div><div class=""><br class=""></div><div class="">and</div><div class=""><br class=""></div><div class=""><a href="http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts.dtd" class="">http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/accounts.dtd</a></div><div class=""><br class=""></div><div class="">-dre</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 5, 2014, at 12:15 PM, Gaurav Jain <<a href="mailto:monkeyfdude@gmail.com" class="">monkeyfdude@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I did try that:<br class=""><br class=""></div><div class="">For <a href="http://localhost:8008/principals/groups/group01/" class="">http://localhost:8008/principals/groups/group01/</a><br class=""><br class=""><pre class="">Group members:
-> <a href="http://localhost:8008/principals/__uids__/cdaboo/" class="">(users)cdaboo - Cyrus Daboo</a>
-> <a href="http://localhost:8008/principals/__uids__/sagen/" class="">(users)sagen - Morgen Sagen</a><br class=""><br class=""><br class="">For <a href="http://localhost:8008/principals/users/cdaboo/" class="">http://localhost:8008/principals/users/cdaboo/</a><br class=""><br class="">Group members:
'()
Group memberships:
'()<br class=""><br class=""><br class=""></pre><pre class="">I only specified 'members' in a 'group'.<br class=""><br class=""></pre><pre class="">Do I also need to specify 'memberships' for a 'user'?<br class=""><br class=""></pre><pre class="">Could you also please point me to any doc around this?<br class=""><br class=""><br class=""></pre><pre class="">Thanks again!<br class=""></pre><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Dec 5, 2014 at 12:10 PM, Cyrus Daboo <span dir="ltr" class=""><<a href="mailto:cdaboo@apple.com" target="_blank" class="">cdaboo@apple.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gaurav,<div class=""><div class="h5"><br class="">
<br class="">
--On December 5, 2014 at 11:51:11 AM -0800 Gaurav Jain <<a href="mailto:monkeyfdude@gmail.com" target="_blank" class="">monkeyfdude@gmail.com</a>> wrote:<br class="">
<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've set up a group consisting of two members.<br class="">
<br class="">
<group><br class="">
<uid>testGroup</uid><br class="">
<password>testGroup</password><br class="">
<name>Test Group</name><br class="">
<members><br class="">
<member type="users">cdaboo</member><br class="">
<member type="users">sagen</member><br class="">
</members><br class="">
<guid>734BB9B0</guid><br class="">
</group><br class="">
<br class="">
<br class="">
On the client, I need to know which groups user 'cdaboo' belongs to?<br class="">
<br class="">
I tried 'allprop' for '/principals/users/cdaboo/' but it did not return<br class="">
any group.<br class="">
</blockquote>
<br class=""></div></div>
Pull up /principals/users/xxxx/ in a web browser. You should see a DAV:membership property listing the groups that principal is a member of. Note that "allprop" does not return all properties! Some properties are explicitly defined to not appear in "allprop".<span class="HOEnZb"><font color="#888888" class=""><br class="">
<br class="">
-- <br class="">
Cyrus Daboo<br class="">
<br class="">
</font></span></blockquote></div><br class=""></div>
_______________________________________________<br class="">calendarserver-users mailing list<br class=""><a href="mailto:calendarserver-users@lists.macosforge.org" class="">calendarserver-users@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/calendarserver-users<br class=""></div></blockquote></div><br class=""></div></body></html>