How would I mimic User.IsInRole()
I have a website thats build with VS 2012 Internet Application ( Simple membership) EF Code First Updates I would like to know how to extend HttpContext.User.IsInRole(role) 's functionality for a custom table -> User.IsInClient(client) . Here is the way I'd suggest to solve your issue: Create your own interface which implements System.Security.Principal , where you could place any methods you need: public interface ICustomPrincipal : IPrincipal { bool IsInClient(string client); } Implement this interface: public class CustomPrincipal : ICustomPrincipal { private readonly IPrincipal _principal;