aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/HttpHandlers/UserConfigurationHandler.cs
blob: f9d3536b6dceec4a987027c54085803306f4db02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using MediaBrowser.Common.Net.Handlers;
using MediaBrowser.Controller;

namespace MediaBrowser.Api.HttpHandlers
{
    public class UserConfigurationHandler : BaseJsonHandler
    {
        protected override object GetObjectToSerialize()
        {
            Guid userId = Guid.Parse(QueryString["userid"]);

            return Kernel.Instance.GetUserConfiguration(userId);
        }
    }
}