jellyfin/Jellyfin.Api/Constants/UserRoles.cs

24 lines
631 B
C#
Raw Normal View History

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