Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Python
creating users from a text file in Plone : how ?
creating users from a text file in Plone : how ?
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Jean-Francois Boisvieux
#1
creating users from a text file in Plone : how ?
Jul 18 '05, 04:35 PM
the subject is the question, anybody could provide me a pointer on this
subject ?
Thanks
JF
Duncan Booth
#2
Jul 18 '05, 04:35 PM
Re: creating users from a text file in Plone : how ?
Jean-Francois Boisvieux wrote:
[color=blue]
> the subject is the question, anybody could provide me a pointer on this
> subject ?[/color]
You should always put the question in the body of the message. Not all
newsreaders make it easy to see the subject when the body is displayed.
Posting to one of the Plone lists is more likely to get you a comprehensive
answer, but:
Subject: creating users from a text file in Plone : how ?
Use:
acl_users.chang eOrCreateUsers( new_users=listo fUserIds,
default_passwor d=whatever, REQUEST=REQUEST )
to create a list of users, then iterate through them calling
user = portal_membersh ip.getMemberByI d(userid)
user.setMemberP roperties({'ema il':email, 'fullname':full Name})
to get the user object and set the fullname and email.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment