public HHPrincipal(HHIdentity identity, List <ModuleActionKeyValue> roles) { this.roles = roles; this.identity = identity; //this.permissionAction = HHConfiguration.GetConfig()["permissionAction"].ToString(); //regex = new Regex("(\\w+)(" + this.permissionAction + ")", RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); }
public HHPrincipal(HHIdentity identity) : this(identity, null) { }