[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference

webmaster@zope.org webmaster@zope.org
Sun, 29 Sep 2002 17:39:18 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#3-546

---------------

      API method for creating a new user object. Note that not all
      user folder implementations support dynamic creation of user
      objects. Implementations that do not support dynamic creation
      of user objects will raise an error for this method.

        % Anonymous User - June 4, 2002 2:09 pm:
         Please document the argument types; for example, roles must be a list  
         (e.g., '[Manager]') and not a string.  Zope will accept 'Manager' and  
         create a user, but it's an invalid entry--when you click on it, Zope  
         gives an error. 

         Also, please explain the **kw (keywords) argment.

        % Anonymous User - Sep. 29, 2002 5:39 pm:
         use [' '] as parameter for domains and it works. domains is of type tokens.
         somewhere in the code i found out that an empty token equals [' '] and not ['']