This interface needs to be supported by objects that are returned by user validation and used for access control.
Return the list of domain restrictions for a user.
Return the list of roles assigned to the user, including local roles assigned in context of an object.
Get the ID of the user. The ID can be used from Python to get the user from the user's UserDatabase.
Return a list of the user's roles.
Return true if the user has a permission on an object.
Return true if the user has at least one role from a list of roles, optionally in the context of an object.
Return the name of a user