Fortinet white logo
Fortinet white logo

CLI Reference

system imported-users

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>

Variable

Description

Default

<profile_name>

Enter the name of a user import profile, or profile-default.

<protected-domain_name> Enter the name of a protected domain.

{attr | memberOf}

Select whether the query will match based upon the LDAP attribute in the user query (attr) or group query (memberOf) in the profile.

<user_email>

Enter a user email address in the directory server.

<group_name>

Enter the name of a group in the directory server.

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
...

Related topics

profile user-import

system imported-users

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>

Variable

Description

Default

<profile_name>

Enter the name of a user import profile, or profile-default.

<protected-domain_name> Enter the name of a protected domain.

{attr | memberOf}

Select whether the query will match based upon the LDAP attribute in the user query (attr) or group query (memberOf) in the profile.

<user_email>

Enter a user email address in the directory server.

<group_name>

Enter the name of a group in the directory server.

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
...

Related topics

profile user-import