473,405 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

creating users from a text file in Plone : how ?

the subject is the question, anybody could provide me a pointer on this
subject ?

Thanks

JF
Jul 18 '05 #1
1 1567
Jean-Francois Boisvieux wrote:
the subject is the question, anybody could provide me a pointer on this
subject ?


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.changeOrCreateUsers(new_users=listofUser Ids,
default_password=whatever, REQUEST=REQUEST)

to create a list of users, then iterate through them calling

user = portal_membership.getMemberById(userid)
user.setMemberProperties({'email':email, 'fullname':fullName})

to get the user object and set the fullname and email.

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joel Burton | last post by:
After a hiatus, a new group for Python, Zope, and Plone programmers in DC is forming. Our goal is to network and further educate ourselves on programming in Python. While not exclusively for Zope...
0
by: Joel Burton | last post by:
The newly-formed Zope/Python Users Group of DC announces our upcoming meeting schedule: Mo Jul 19: Zope -- presentation on Archetypes by Joel Burton Th Aug 5: Python -- no topic yet Mo Aug...
1
by: Yandle | last post by:
I have just started tinkering with Plone and, as is to be expected, I've run into some issues. What I want to know is: does anybody know if there's a group for Plone users as opposed to Python...
7
by: Tony Ha | last post by:
Hello Can some one explain what are the differences between "plone" and "Apache + mod_python"? From plone.org. It says "Plone is powerful and flexible. It is ideal as an intranet and...
0
by: pugnatio | last post by:
I prefer to use my own text format instead of StructuredText or the like, because I also use emacs outline mode a lot. What would be the best approach for creating this new content type in...
10
by: ls | last post by:
Hi All, I looking for help with ZODB data export to text file. I have file Data.fs (file becomes from Plone CMS) and I have to display content structure, data like intro, body of article, etc...
2
by: Somesh | last post by:
Hi, 1.I have installed and running a plone Intranet site, I have registerd users on it. I want to get list of all registerd users on a page. how I should move towards getting it / scripting it...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
3
by: wheel | last post by:
I'm not sure if this is the right venue for Plone questions, if not, could someone ref me to a better one? The discussion groups on the plone site are mailing lists and I'd rather not subscribe...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.