system imported-users
Use these commands to list and test queries for user accounts that are imported by synchronization with an LDAP server.
Syntax
diagnose system imported-users list <protected-domain_name> <profile_name> {user | group}
diag sys imported-users query <protected-domain_name> <profile_name> {attr | memberOf} <user_email> <group_name>
Example
FortiMail # diag sys imported-users list example.com google_ldap group
System Time: 2025-05-30 16:14:43 EDT (Uptime: 7d 2h 16m)
Profile ID Domain Display Name Email Email Alias Custom Attributes Member of
...