Batch Assign Temporary Password

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Batch Assign Temporary Password

Post by Jhstephenson »

I want to run a process where I assign a new password to each user. I will also flag a field that indicates the user needs to enter a new password on their initial login. I already do this when I manually reset a user's password.

If a user's first name is John I want to assign their password as 'john2021', Mary would be 'mary2021' etc...

I have been looking at the GENERATE_PWD function to see if it would work for what I want to do but I am not sure about it.

It appears that GENERATE_PWD only generates random passwords. Is that correct?

If so, how would I assign the Password in RegularUser to the one that I want to use?

I have tried in my process just doing the following:
RegularUser.Password = RegularUser.FirstName+'2021'

But that doesn't seem to work.
BobK
Posts: 544
Joined: Thu Jan 31, 2008 2:14 pm
Location: Cincinnati, Ohio, USA

Re: Batch Assign Temporary Password

Post by BobK »

Jhstephenson wrote: Tue Apr 13, 2021 8:17 pm It appears that GENERATE_PWD only generates random passwords. Is that correct?
YES

Just a WAG: try
SomeBO.TempField = RegularUser.FirstName+'2021'
RegularUser.Password = SomeBO.TempField
Bob
Post Reply