If the Artifactory LDAP Group settings are properly configured and the required LDAP groups are imported into the Artifactory, whenever an LDAP user belongs to this group logged in for the first time, it will be added to the respective groups.