pfsense with windows server 2016 LDAP
How to assign rule in firewall from (active directory User) not by IP.
My best practices into ldap with pfsense just login from active directory.
There is no way to do that directly in pfSense. You can only set firewall rules based on IP addresses or something that resolves to an IP address.
You can get close to that indirectly by using the captive portal or Squid with authentication.