Developer forum

Forum » CMS - Standard features » Is it possible to create random passwords when importing users, if password not already exists?

Is it possible to create random passwords when importing users, if password not already exists?

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

we have a costumer who needs a solution where users are imported from another system, via a csv or an xml file. The Import will happen once pr. day

 

Is it possible to set the import to create userpasswords for new users only (users that donĀ“t already have a password), and is this straightforward?

 

/Hans


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Hans,

Yes, that is easy to accomplish.

You just need to configure a Data Integration activity. Use the CSV or XML provider as source and the User provider as destination with "Generate passwords for users" enabled.

 

See user provider documentation for details:

https://doc.dynamicweb.com/documentation-9/integration/data-integration-module/integration-providers/user-provider

 

Details about scheduling can be found here:

https://doc.dynamicweb.com/documentation-9/integration/data-integration-module/data-integration-module#5516

 

Best regards, Morten

Votes for this answer: 1
 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Ok, perfect

thanx Morten :)

 

You must be logged in to post in the forum