aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Constants/UserRoles.cs
blob: d9a536e7d73c4c466a215a650182f1e99c98155f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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";
    }
}