Hi,
I want to retrieve all groups a given user belongs to, so I
try to retrieve all the links that points to a given node by
using objectNode's enumerateLinks() method.
But when I look at the method's returned enumeration, it contains
n strings that are the given node uri, n being the number of links
actually pointing to the given node.
Here is my code :
ObjectNode userNode = structure.retrieve(st, userUri, false);
Enumeration groups = userNode.enumerateLinks();
while(groups.hasMoreElements()) {
String memberUri = (String)groups.nextElement();
...
and memberUri is equal to userUri
Can someone tell me what I have missed or misunderstatood ?
JP
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>