Nucleus .Net Core CMS

Models.User Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Represents a user of a Models.Site

Properties

Id Property

Unique record identifier.

SiteId Property

Id of the site that the user belongs to, or NULL for system administrators.

UserName Property

User login name

IsSystemAdministrator Property

Flag used to indicate that the user is a system administrator.
Remarks
System administrators can access and manage all sites, pages and their resources. System administrators do not belong to any site.

Approved Property

Flag used to indicate that the user has been approved.
Remarks
If the site user registration options are set to require administrator approval for new users, this flag is set when the administrator approves the user. If the site registration options are set to not require administrator approval, this flag is set automatically during registration.

Verified Property

Flag used to indicate that the user has verified their email address.
Remarks
If the site user registration options are set to require email verification for new users, this flag is set when the user enters their verification code. If the site registration options are set to not require email verification, this flag is set automatically during registration.

Secrets Property

User secrets.

Profile Property

List of User profile values.
Remarks
The available user profile values are controlled by the Models.Sites Models.UserProfileProperty settings.

Roles Property

List of Models.Roles that the user belongs to.