Nucleus .Net Core CMS

Models.Site Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Represents a site, which contains pages, users, roles, permissions and other data.

Remarks

A Nucleus instance can host multiple sites.

Properties

Id Property

Unique record identifier.

Name Property

Gets or sets the Site Name
Remarks
Site names are displayed in the administrative interface.

AdministratorsRole Property

Gets or sets the Administrators role.
Remarks
Users in the administrators role can manage pages, roles, permissions and other site-specific settings.

RegisteredUsersRole Property

Gets or sets the Registered users role.
Remarks
New pages and page modules automatically default to allowing view access to users in the Registered Users role. New users automatically default to being a member of the Registered Users role.

AllUsersRole Property

Gets or sets the All users role.
Remarks
This role represents all users whether they are logged in or not.

AnonymousUsersRole Property

Gets or sets the Anonymous users role.
Remarks
This role represents users who are not logged on.

SiteGroupId Property

Gets or sets the Site Group Id
Remarks
Represents the site group that a site belongs to. This field is for future use.

UserRegistrationOptions Property

Gets or sets signup options for the site.

DefaultLayoutDefinition Property

Gets or sets the default layout for the site, or NULL to use the default.
Remarks
Pages which do not specify a layout use the site's default layout.

DefaultContainerDefinition Property

Gets or sets the default container for the site, or NULL to use the default.
Remarks
Modules which do not specify a container use the site's default container.

DefaultSiteAlias Property

Gets or sets the Default alias for the site

HomeDirectory Property

Gets or sets the site's home directory.
Remarks
Used by the LocalFileSystemProvider.

Aliases Property

List of Models.SiteAliases for the site.

UserProfileProperties Property

List of user profile properties for users of the site.

SiteSettings Property

Name/value pairs of site settings.