aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Constants/UserRoles.cs
blob: 41c7b7cd0fedf81d809c5cfe40de2e3777f08acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Jellyfin.Api.Constants;

/// <summary>
/// Constants for user roles used in the authentication and authorization for the API.
/// </summary>
public static class UserRoles
{
    /// <summary>
    /// Guest user.
    /// </summary>
    public const string Guest = "Guest";

    /// <summary>
    /// Regular user with no special privileges.
    /// </summary>
    public const string User = "User";

    /// <summary>
    /// Administrator user with elevated privileges.
    /// </summary>
    public const string Administrator = "Administrator";
}