Hello
I am using cloudcontext security and am wondering about the easyest way
to get a mmbaseuser node for the logged in user. I tried:

  String userIdentifier = cloud.getUser().getIdentifier();
  Users usersBuilder = Users.getBuilder();
  Node userNode = usersBuilder.getUser(userIdentifier);
  if (userNode = null)
    throw new RuntimeException("No usernode found for user identifier "
+
      userIdentifier + ". This should never happen!");

but I get an error that method Users.getNode() is not public. This is
allso in the 'latest' 1.7 apidoc, but in cvs head the method is made
public.

what should i do? A function shoud seem ideal...

regards,

Ernst
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to