jellyfin/Jellyfin.Api/Constants/UserRoles.cs

23 lines
557 B
C#
Raw Normal View History

2023-01-31 06:18:10 -05: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 14:31:17 -05:00
{
/// <summary>
2023-01-31 06:18:10 -05:00
/// Guest user.
2019-11-23 14:31:17 -05:00
/// </summary>
2023-01-31 06:18:10 -05:00
public const string Guest = "Guest";
2019-11-23 14:31:17 -05:00
2023-01-31 06:18:10 -05:00
/// <summary>
/// Regular user with no special privileges.
/// </summary>
public const string User = "User";
2019-11-23 14:31:17 -05:00
2023-01-31 06:18:10 -05:00
/// <summary>
/// Administrator user with elevated privileges.
/// </summary>
public const string Administrator = "Administrator";
2019-11-23 14:31:17 -05:00
}