jellyfin-server/Jellyfin.Api/Constants/UserRoles.cs

24 lines
631 B
C#
Raw Normal View History

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