Table of Contents

Enum UserElevation

Namespace
ToSic.Sxc.Cms.Users
Assembly
ToSic.Sxc.Cms.dll

Describes the elevation of a user, which is a simplified way to describe permissions.

[WorkInProgressApi("v20.01")]
public enum UserElevation

Fields

All = 1

Any elevation. This is used to set something which is applied to all which are not specified differently.

Anonymous = 10

Anonymous users (not logged in).

ContentAdmin = 52

Users with content admin rights or higher.

ContentDraft = 50
ContentEdit = 51

Users with edit content-rights or higher.

SiteAdmin = 80

Site admins - can do everything on a site.

SystemAdmin = 90

System admins - can do everything on the entire system.

Unknown = 0

Unknown state - should not be used, but is the default in case something is not specified.

View = 20

Users with view rights - usually all logged-in users.