Back to index

plone3  3.1.7
Public Member Functions
PluggableAuthService.interfaces.authservice.IBasicUser Class Reference
Inheritance diagram for PluggableAuthService.interfaces.authservice.IBasicUser:
Inheritance graph
[legend]
Collaboration diagram for PluggableAuthService.interfaces.authservice.IBasicUser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getId
def getUserName
def getRoles
def getRolesInContext
def getDomains

Detailed Description

Specify the interface called out in AccessControl.User.BasicUser
    as the "Public User object interface", except that '_getPassword'
    is *not* part of the contract!

Definition at line 27 of file authservice.py.


Member Function Documentation

Return the list of domain restrictions for a user.

Definition at line 65 of file authservice.py.

00065 
00066     def getDomains():
00067 
00068         """ Return the list of domain restrictions for a user.
00069         """
00070 

Get the ID of the user.

o The ID can be used, at least from Python, to get the user from
  the user's UserDatabase

Definition at line 34 of file authservice.py.

00034 
00035     def getId():
00036 
00037         """ Get the ID of the user.
00038 
00039         o The ID can be used, at least from Python, to get the user from
00040           the user's UserDatabase
00041         """

Return the roles assigned to a user "globally".

Definition at line 51 of file authservice.py.

00051 
00052     def getRoles():
00053 
00054         """ Return the roles assigned to a user "globally".
00055         """

Here is the caller graph for this function:

Return the roles assigned to the user in context of 'object'.

o Roles include both global roles (ones assigned to the user
  directly inside the user folder) and local roles (assigned
  in context of the passed in object.

Definition at line 56 of file authservice.py.

00056 
00057     def getRolesInContext( object ):
00058 
00059         """ Return the roles assigned to the user in context of 'object'.
00060 
00061         o Roles include both global roles (ones assigned to the user
00062           directly inside the user folder) and local roles (assigned
00063           in context of the passed in object.
00064         """

Return the name used by the user to log into the system.

o Note that this may not be identical to the user's 'getId'
  (to allow users to change their login names without changing
  their identity).

Definition at line 42 of file authservice.py.

00042 
00043     def getUserName():
00044 
00045         """ Return the name used by the user to log into the system.
00046 
00047         o Note that this may not be identical to the user's 'getId'
00048           (to allow users to change their login names without changing
00049           their identity).
00050         """

Here is the caller graph for this function:


The documentation for this class was generated from the following file: