Table of Contents
This interface needs to be supported by objects that are returned by user validation and used for access control.
getDatabasePath ()
Get a physical path to the user's UserDatabase. A Traversal facility can be used to get the user database from the path returned by this method.
Permission - Python only
getId ()
Get the ID of the user. The ID can be used, at least from Python, to get the user from the user's UserDatabase.
getRoles ( object )
Returns a list of the roles the user has on the given object (in the current context?)
Permission - Always available
getUserName ()
Return the name of a user
hasRole ( object, roles )
Return a value that is true if the user has the given roles on the given object and return false otherwise.