LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

password for one user

Solved!
Go to solution
Highlighted

hi,

I looking to bulid password for one user able to confirm the password, also able to change his password if he needs.

Thanks,

Mohib

0 Kudos
Message 1 of 5
(1,319 Views)
Highlighted
Solution
Accepted by topic author mlr2@njit.edu

At first glance, it looks like you have a pretty good VI there.  Do you have any questions or a specific problem with your VI that you need solved?

 

One comment I have is that you have a comparison to see if the string length is equal to 6 and you post a message that it must be greater than 6 characters if it is.  What if you have only a 3 character password?  It is not equal to six, so you won't get the error message.  I think you want <= 6 to raise the error.

 

You don't have anything to detect whether the confirm password actually matches the first password entered.

 

Also, I'd recommend reordering the tab order on the front panel so that when you tab from the first password, it will go to the confirm password next, then go to Submit.  Right now it jumps right to Submit.

 

Also, you may want to clear the Confirm password field as well as the password field after submitting the changes.

 

Also, what about upper vs. lower case.  Do you want it to matter whether the username or the password have to be entered with the same case every time.

0 Kudos
Message 2 of 5
(1,303 Views)
Highlighted

here is a password program:

 

it may help a little

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 5
(1,300 Views)
Highlighted

Hi,

i'd like thank you all for your help, but i was not clear enough when i addressed this problem, i looking to have this vi able to have one user to chang his password when he put old password right.

also  i need to have limted user let says four user only

0 Kudos
Message 4 of 5
(1,278 Views)
Highlighted

This might be a bit over the top for what you want as allows you to add multiple users but it is quite a nice toolkit and free to download

 

http://controlsoftwaresolutions.com/UserAccountsLibrary.aspx

David
www.controlsoftwaresolutions.com
0 Kudos
Message 5 of 5
(939 Views)