gui/backend/gui_plugin/users/UserManagement.py
def list_roles(web_session=None):
    """Lists all roles that can be assigned to users.

    Args:
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    """
    with BackendDatabase(web_session) as db:
        return db.select("SELECT name, description "
                         "FROM role")
Lists all roles that can be assigned to users.

    Args:
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    
Lists all roles that can be assigned to users.
Lists all roles that can be assigned to users .
def list_roles(web_session=None):
    with BackendDatabase(web_session) as db:
        return db.select("SELECT name, description "
                         "FROM role")
def list_roles ( web_session = None ) : with BackendDatabase ( web_session ) as db : return db . select ( "SELECT name, description " "FROM role" )
Lists all roles that can be assigned to users.
Lists all roles that can be assigned to users .
"""Lists all roles that can be assigned to users.

    Args:
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    """
The generated shell request record.
The generated shell request record .
web_session
The webserver session object, optional. Will be
passed in by the webserver automatically
The webserver session object optional . Will be passed in by the webserver automatically