parameters: (self, person, object)
docstring: Get list of local roles for user.
docstring_summary: Get list of local roles for user.
docstring_tokens: Get list of local roles for user .
function: def getPersonRoleList(self, person, object):  # pylint: disable=redefined-builtin
    """ 
    Get list of local roles for user.
    """
    user_id = person.Person_getUserId()
    if user_id is not None:
      acl_users = self.getPortalObject().acl_users
      return acl_users.getUserById(user_id).__of__(acl_users).getRolesInContext(object)
function_tokens: def getPersonRoleList ( self , person , object ) : # pylint: disable=redefined-builtin user_id = person . Person_getUserId ( ) if user_id is not None : acl_users = self . getPortalObject ( ) . acl_users return acl_users . getUserById ( user_id ) . __of__ ( acl_users ) . getRolesInContext ( object )