Re: Listing documents owned by user
Michael Westbay <[email protected]> Wed, 6 Aug 2025 09:19:31 +0900
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAJ6MVuO=VqR+B-1tTkF3jFCHhTj-NesjJZ=WaXDfj9v9pgrCRg@mail.gmail.com> |
--===============1712767125696708359== Content-Type: multipart/alternative; boundary="000000000000034a6e063ba74d2d" --000000000000034a6e063ba74d2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Alberto, The easiest way is to use the "File" =E2=86=92 "Manage" menu item in eXide.= That gives you a Finder/File Explorer dialog of all of your collections. Programmatically, sm:get-permissions(uri) (import module namespace sm=3D" http://exist-db.org/xquery/securitymanager";) will get the owner, group, and mode of a given resource. Hope this helps. Take care. 2025=E5=B9=B48=E6=9C=886=E6=97=A5(=E6=B0=B4) 1:00 Alberto Sim=C3=B5es <ambs= @zbr.pt>: > Hi > > Is there a way to list all documents in a collection owned by a specific > user? > > Thanks > > > > Alberto Sim=C3=B5es > > > _______________________________________________ > Exist-open mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/exist-open > --=20 Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ --000000000000034a6e063ba74d2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi Alberto,</div><div><br></div><div>The easiest way = is to use the "File" =E2=86=92 "Manage" menu item in eX= ide. That gives you a Finder/File Explorer dialog of all of your collection= s.</div><div><br></div><div>Programmatically,=C2=A0sm:get-permissions(uri) = (import module namespace sm=3D"<a href=3D"http://exist-db.org/xquery/s= ecuritymanager">http://exist-db.org/xquery/securitymanager</a>";)=C2= =A0 will get the owner, group, and mode of a given resource.</div><div><br>= </div><div>Hope this helps.</div><div><br></div><div>Take care.</div></div>= <br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">2025=E5=B9=B48=E6=9C=886=E6=97=A5(=E6=B0=B4) 1:00 Alberto S= im=C3=B5es <<a href=3D"mailto:[email protected]">[email protected]</a>>:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border= -left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br> <br> Is there a way to list all documents in a collection owned by a specific us= er?<br> <br> Thanks<br> <br> <br> <br> Alberto Sim=C3=B5es<br> <br> <br> _______________________________________________<br> Exist-open mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Exist= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/exist-open" rel=3D"= noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/= exist-open</a><br> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mi= chael Westbay<br>Writer/System Administrator<br><a href=3D"http://www.japan= esebaseball.com/" target=3D"_blank">http://www.japanesebaseball.com/</a></d= iv> --000000000000034a6e063ba74d2d-- --===============1712767125696708359== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1712767125696708359== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Exist-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/exist-open --===============1712767125696708359==--