Re: [Zope] Adding users via external method

2000-06-27 Thread Timothy Grant
Following up on my own message... OK, so now I have a lovely external method that reads a datafile, returns a list of tuples that I can then use in a DTML Method to add my users. So far so good. I have come upon some situations where I also need to add Roles. I can find nothing archived nor on

Re: [Zope] Adding users via external method

2000-06-27 Thread ethan mindlace fremen
Timothy Grant wrote: I have come upon some situations where I also need to add Roles. I can find nothing archived nor on the Zope site about programmatically adding Roles. Can anyone assist me? hmm. I don't know how you're adding users without indicating their roles. I do this:

Re: [Zope] Adding users via external method

2000-06-22 Thread ethan mindlace fremen
Timothy Grant wrote: I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. I use a dtml_method for this, actually. I don't know how to do it with an

[Zope] Adding users via external method

2000-06-21 Thread Timothy Grant
Hi all, I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. My confusion comes from where does the external method go in the hierarchy? From my reading it