Back to index

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

List of all members.

Public Member Functions

def getRolesForPrincipal

Detailed Description

Determine the (global) roles which a user has.

Definition at line 249 of file plugins.py.


Member Function Documentation

Determine the (global) roles which a user has.
principal -> ( role_1, ... role_N )

o Return a sequence of role names which the principal has.

o May assign roles based on values in the REQUEST object, if present.

Definition at line 254 of file plugins.py.

00254 
00255     def getRolesForPrincipal( principal, request=None ):
00256 
00257         """ principal -> ( role_1, ... role_N )
00258 
00259         o Return a sequence of role names which the principal has.
00260 
00261         o May assign roles based on values in the REQUEST object, if present.
00262         """


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