Search Results for

    Show / Hide Table of Contents
    View Source

    Class DashboardService

    A utility class for determine dashboard security

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class DashboardService : IDashboardService

    Constructors

    View Source

    DashboardService(ISectionService, DashboardCollection, ILocalizedTextService)

    Declaration
    public DashboardService(ISectionService sectionService, DashboardCollection dashboardCollection, ILocalizedTextService localizedText)
    Parameters
    Type Name Description
    ISectionService sectionService
    DashboardCollection dashboardCollection
    ILocalizedTextService localizedText

    Methods

    View Source

    GetDashboards(String, IUser)

    Gets dashboard for a specific section/application For a specific backoffice user

    Declaration
    public IEnumerable<Tab<IDashboard>> GetDashboards(string section, IUser currentUser)
    Parameters
    Type Name Description
    System.String section
    IUser currentUser
    Returns
    Type Description
    IEnumerable<Tab<IDashboard>>
    View Source

    GetDashboards(IUser)

    Gets all dashboards, organized by section, for a user.

    Declaration
    public IDictionary<string, IEnumerable<Tab<IDashboard>>> GetDashboards(IUser currentUser)
    Parameters
    Type Name Description
    IUser currentUser
    Returns
    Type Description
    IDictionary<System.String, IEnumerable<Tab<IDashboard>>>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DashboardService(ISectionService, DashboardCollection, ILocalizedTextService)
    • Methods
      • GetDashboards(String, IUser)
      • GetDashboards(IUser)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX