Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7eab5474
Commit
7eab5474
authored
Sep 14, 2001
by
Brian Lloyd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added User Folder API documentation.
parent
113a5ea9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
lib/python/Products/OFSP/help/UserFolderAPI.py
lib/python/Products/OFSP/help/UserFolderAPI.py
+68
-0
No files found.
lib/python/Products/OFSP/help/UserFolderAPI.py
0 → 100644
View file @
7eab5474
class
UserFolderAPI
:
"""
User Folder objects are containers for user objects. Programmers can
work with collections of user objects using the API shared by User
Folder implementations.
"""
def
getUser
(
self
,
name
):
"""
Returns the user object specified by name. If there is no
user named 'name' in the user folder, return None.
Permission -- Manage users
"""
def
getUsers
(
self
):
"""
Returns a sequence of all user objects which reside in the user
folder.
Permission -- Manage users
"""
def
getUserNames
(
self
):
"""
Returns a sequence of names of the users which reside in the user
folder.
Permission -- Manage users
"""
def
manage_addUser
(
self
,
name
,
password
,
roles
,
domains
):
"""
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.
Permission -- Manage users
"""
def
manage_editUser
(
self
,
name
,
password
,
roles
,
domains
):
"""
API method for changing user object attributes. Note that not
all user folder implementations support changing of user object
attributes. Implementations that do not support changing of user
object attributes will raise an error for this method.
Permission -- Manage users
"""
def
manage_delUsers
(
self
,
names
):
"""
API method for deleting one or more user objects. Note that not
all user folder implementations support deletion of user objects.
Implementations that do not support deletion of user objects
will raise an error for this method.
Permission -- Manage users
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment