...
System.Customer. UserImportUsePasswordOnCreate | System.Customer. UserImportUseRandomPasswordIfNotProvided | Translation Mapping CSV Column to Password exists? | Predicate exist in UserImportNewUserPasswordFormat? (a Predicate mandates the existence of a Translation Mapping Column from CSV to Password) This column is always true so it doesn't seem to add any value | Action |
---|---|---|---|---|
false | false | false | True | create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, don't create user and log error (but continue CSV file processing) (so if no password format is provided, will an error be logged for each user?) |
false | false | true | True | create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, don't create user and log error (but continue CSV file processing). Note: It doesn't matter whether a password is provided or is empty/white spaces - the behaviour is the same. (you could represent this with one row in this table and "n/a" for the translation column). |
false | true | false | True | create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, create user with random password (Guid) Note: It doesn't matter whether a password is provided or is empty/white spaces - the behaviour is the same. |
false | true | true | True | create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, create user with random password (Guid) Note: It doesn't matter whether a password is provided or is empty/white spaces - the behaviour is the same. |
true | false | false | True | create user via password field in CSV (provided it meets the complexity requirements), build if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, don't create user and log error (but continue with CSV file processing) |
true | false | true | True | pwd provided: create user with provided password pwd empty/white spaces: create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, don't create user and log error (but continue with CSV file processing) |
true | true | false | True | create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, create user with random password (Guid) |
true | true | true | True | pwd provided: create user with provided password pwd empty/white spaces: create user via password format, if enabled via System.Customer.UserImportNewUserPasswordFormat. Otherwise, create user with random password (Guid) |
(If I read the flowchart below correctly, then the existence of UserImportNewUserPasswordFormat makes the other settings irrelevant – unless the format is allowed to reference the incoming value from the mapped or unmapped password column. If the latter is not true, then this tabular format may be a little misleading because it means that if UserImportNewUserPasswordFormat is set, then the values for the other attributes don't actually apply)
Another way of interpreting the matrix is the following password creation flow logic:
...