Table of Contents
These v19 docs are archived 🔒. Go to the latest docs home or try if this exact page is available in the latest docs.

Interface IUserRoleModel

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

BETA Model to return role information as provided by the UserRoles DataSource.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IUserRoleModel : ICanWrapData

Remarks

For detailed documentation, check the docs of the underlying objects:

History

  • Introduced in v19.01

Properties

Created

When the user role was first created.

DateTime Created { get; }

Property Value

DateTime

Id

The Role ID in the database.

int Id { get; }

Property Value

int

Modified

When the user role was last modified.

DateTime Modified { get; }

Property Value

DateTime

Name

The Role Name as it is displayed everywhere.

string Name { get; }

Property Value

string