Hi,
We are currently trying to enable the ability for all the users in our DOORS database to be able to change their password, in the past for some export control policy we disabled that ability and now we would like to reverse it, I know i can do it for each user one at a time. but I was wondering if I can do that using a DOORS DXL. I have about 600 users that need this property enabled. I am looking for a DXL script that will loop through each users and check if its enabled to pass and if its not enabled to enable it. I saw something like this but I wasnt able to put the code together:
if ( userPropertyName == "passwordMayChange" ) {
propertyValueBool = u.passwordMayChange
how can I use this if to go through the
for u in userList do {
if( !userPropertyName == "PasswordMayChange")
u.passwordMayChange=true
}
Any help is highly appreciated.
Regards Qsalameh - Wed Jun 22 09:33:23 EDT 2016 |
Re: How to Enable the user's ability to change their password
u = find("testuser") |