This commit is contained in:
17
server/ControllerHelpers/UserTypeFromContext.cs
Normal file
17
server/ControllerHelpers/UserTypeFromContext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
using Sockeye.Biz;
|
||||
|
||||
namespace Sockeye.Api.ControllerHelpers
|
||||
{
|
||||
|
||||
|
||||
internal static class UserTypeFromContext
|
||||
{
|
||||
internal static UserType Type(IDictionary<object, object> HttpContextItems)
|
||||
{
|
||||
return (UserType)HttpContextItems["AY_USER_TYPE"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}//eons
|
||||
Reference in New Issue
Block a user