View Source
Class SectionService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class SectionService : ISectionService
Constructors
View Source
SectionService(IUserService, SectionCollection)
Declaration
public SectionService(IUserService userService, SectionCollection sectionCollection)
Parameters
Methods
View Source
GetAllowedSections(Int32)
Get the user group's allowed sections
Declaration
public IEnumerable<ISection> GetAllowedSections(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Returns
View Source
GetByAlias(String)
Gets the application by its alias.
Declaration
public ISection GetByAlias(string appAlias)
Parameters
Type |
Name |
Description |
System.String |
appAlias |
The application alias.
|
Returns
View Source
GetSections()
The cache storage for all applications
Declaration
public IEnumerable<ISection> GetSections()
Returns