jellyfin/Jellyfin.Api/Constants/UserRoles.cs

23 lines
557 B
C#
Raw Normal View History

2023-01-31 12:18:10 +01:00
namespace Jellyfin.Api.Constants;
/// <summary>
/// Constants for user roles used in the authentication and authorization for the API.
/// </summary>
public static class UserRoles
2019-11-23 20:31:17 +01:00
{
/// <summary>
2023-01-31 12:18:10 +01:00
/// Guest user.
2019-11-23 20:31:17 +01:00
/// </summary>
2023-01-31 12:18:10 +01:00
public const string Guest = "Guest";
2019-11-23 20:31:17 +01:00
2023-01-31 12:18:10 +01:00
/// <summary>
/// Regular user with no special privileges.
/// </summary>
public const string User = "User";
2019-11-23 20:31:17 +01:00
2023-01-31 12:18:10 +01:00
/// <summary>
/// Administrator user with elevated privileges.
/// </summary>
public const string Administrator = "Administrator";
2019-11-23 20:31:17 +01:00
}