websitepanel/WebsitePanel/Sources/WebsitePanel.WebDav.Core/WspContext.cs
2015-02-18 02:35:32 -08:00

17 lines
516 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using WebsitePanel.WebDav.Core.Security.Authentication.Principals;
using WebsitePanel.WebDav.Core.Wsp.Framework;
namespace WebsitePanel.WebDav.Core
{
public class WspContext
{
public static WspPrincipal User { get { return HttpContext.Current.User as WspPrincipal; } }
public static WSP Services { get { return WSP.Services; } }
}
}