Hello,
I've managed to add a principal to a principal folder inside a PAU:

  pau = getUtility(IAuthentication)
  pfolder = pau.keys()[0]
  principal = InternalPrincipal("def", "pwd123","a title", "a description")
  pfolder["def"] = principal

but I doubt that the most elegant way. How can I achieve do it more or less 
agnostic form the principal source (or a least from the name and ordinal 
postion inside PAU)?

Thanks,

Florian
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to