the getUserNames method is protected, and for good reason. getting valid user names would be a great start for malicious users to start hacking into your site. that's why this method can only be called by administrators. jens On Monday, August 27, 2001, at 08:39 , Espen Berge wrote:
Hi! I'm sort of a newbie at this, so I would be most greatful for any help I can get. I have made a CMF-object in Zope, where I have added sume users in the "acl_users"-folder. When I try to log in by the url (I.e. http://zopehost: 8080/the_CMF_Object/?__ac_name=some_username_in_the_acl_users_folder&__ac_password= some_password ), this works fine. It seems as if I am logged in, but when I try to run a dtml-script: <dtml-in "acl_users.getUserNames()"> <dtml-var sequence-item> </dtml-in> I have to log in as an administrator to see the output of that dtml-script. Why can't I see the output when I'm logged in the CMF-object? Thanks, Espen Berge