jellyfin-server/MediaBrowser.Api/HttpHandlers/UsersHandler.cs

16 lines
402 B
C#
Raw Normal View History

using System.Collections.Generic;
using MediaBrowser.Common.Net.Handlers;
using MediaBrowser.Controller;
using MediaBrowser.Model.Users;
namespace MediaBrowser.Api.HttpHandlers
{
class UsersHandler : BaseJsonHandler<IEnumerable<User>>
{
protected override IEnumerable<User> GetObjectToSerialize()
{
return Kernel.Instance.Users;
}
}
}