View Source
Class DashboardService
A utility class for determine dashboard security
Inheritance
System.Object
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
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
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>>> |
|