How do you allow a user to create a new password?

The way i have it set up right now the users are registered by the admin and a random password is provided for them to log in. When they login they're instructed to create a new password.
They click to update their information. Included in this form is an "Old Password" field and a "New Password" field. They can choose if they want to create a new one or not. So I don't want to make it a requirement.
1 - How do I validate the old password.
2 - When they type the new password and submit the update info form. It inserts the new record over the old. But only after confirming that that old password is correct. How is this done?
Or should they just type in a new password with no validation that they know the old. ? Hm.
Please let me know. Thank you.
Eddie Adolf

Hi frunsel,
if the user choose a name where already exist, the error throws out, but it clears all the register fields (all the users entrys, and i have a few fields)
humm, that´s not cool -- however...
how can i prevent this?
In this case I suggest providing a separate "check username availabilty" procedure in a blank window
(or a popup window, if you prefer) which ...
a) on page 1 has a form with one "check_username" text field, and on...
b) page 2 queries the login table´s "username" column against the textfield´s value and returns "username available" when no matching records were found, respectively "username already allocated" in case of a match.
That´s something I´d do without using ADDT, means DW´s native database related functionality are absolutely sufficient for such simple stuff
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver

Similar Messages

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How do you Copy a row to create a new row in the same table?

    Hi,
    We have a PurchaseOrderHeaderView object and on click of Copy Purchase Order we want to copy a row in PURCHASE_ORDER_HEADER table to create a new row. We don't want to copy the primary key only the remaining fields.
    Regards
    Madhuri

    If you use ADF BC, you can create a new row programatically via createRow and use a sequence to create the Id and use the "original" row (probably the current row in the view object) to copy the values from to newly created row. Then use insertRow and commit to create the copied row.
    Ronald

  • How do you allow multiple users share a common folder that is on the doc?

    I'm coming from many years as an OS 8.6 user. My family expects me to wade though all of the documentation and figure out how to make using the computer easy. One feature they liked was the way I set up the Apple Menu so that only the programs were listed. The categories were Applications, Diversions, Internet, and Utilities. This masked all of the other stuff that may have been associated with a program from them.
    I would like to do the same in OS X (10.4.7). So, in /users/shared I created a folder named of all things "Apple Menu". In this folder I've created new folders for Applications, Diversions, Internet, and Utilities. Into these folders I placed aliases to the various programs. I then took this folder and dragged it to the Doc. On my Doc, with I control click the "Apple Menu" folder, I see my folder names with drop downs listing all of the aliases just like in OS 8.6. Unfortunately, on the other user accounts after dragging the folder /users/shared/apple menu to the Doc, they can only see aliases to files that came with the system. They can not see any of the new files that I've added. How do I set this up so that I maintain one folder of the aliases to various programs and yet every account can see all of these aliases?
    I don't want the Doc cluttered with applications that are not used all of the time. At the same time I don't want to have to navigate to some sub-directory and scan a list of files looking for the application everytime I want to run it. The rest of my family members would go nuts. As a matter of fact, I think I would also. I liked the Apple Menu in OS 8.6. I think this Doc folder thing might just work, if I can get past this security/permissions issue.
    Thanks for the advice.
    Joe
    17" iMac G5   Mac OS X (10.4.7)   various Mac running OS 8.6

    Thanks for the suggestions offered so far, but they don't get to the root of the issue. I only want to maintain one, and only one, "Apple Menu" folder. I'm not looking to restrict user access. I'm trying to streamline user access for those who are not comfortable navigating down 2 or 3 or more levels of directories looking for the "applications". As Administrator I do this at the time an application is installed and place an alias to the application in the appropriate "Apple Menu" folder so that my family members can quickly and easily access it.
    I built the "Apple Menu" folder and placed it in /user/shared. I also built all of the aliases to the applications and placed them in the appropriate sub folder of "Apple Menu". I've chosen, "Applications", "Diversions", "Internet", and "Utilities" as the sub folders.
    Some of the aliases, while logged into a non-administrator account do not show up in the "Apple Menu" while others do. For example TextEdit appears while TextWrangler, which I installed does not. I thought that only programs that I installed are not showing up, but this is not true. I installed Reunion and this program is visible from the non-administrator accounts. Yet I can navigate to the item not appearing in the "Apple Menu" and launch it.
    The top folder's owner is myself, the group is "wheel" and it has read permission, and everyone has read permission. I've made myself and the other users members of the group wheel. And I've propogated these values down the folder hierarchy starting at "Apple Menu". I would like to know why this isn't working?
    Though Classic Apple Menu and XMenu sound like good alternatives in each case I would be responsible for setting these applications up in each environment. I only want to do this set up once as administrator and know that all of system's users have access to this information from the Dock.
    Is there some kind of installation step missing that is not permitting these aliases from being seen by all of the system's users?
    Again, thanks for the advice,
    Joe

  • HOW DO YOU CLEAR YOUR PLAYLIST TO CREATE A NEW ONE

    I NEED HELP WHO CA HELP ME WITH THIS ONE I WOULD REALLY APPRECIATE IT. AND ALSO I'M ALSO HAVING PROBLEMS TRYING TO DOWNLOAD NEW MUSIC IN ADDITION TO THE MUSIC I ALREADY HAVE ON MY IPOD. HELP PLEASE!!!!!!!

    What do you mean.... To be honest i dont really understand the question..... but here goes anyway :P
    On iTunes there are two different kinds of playlists. A regular one and a 'smart' one. For a regular (mini pic is a blue sheet with a musical note) playlist if you want to clear it go into it. Click on one song. Press command+a and it will select all the songs in the playlist. Then select delete. Or you could just delete the playlist itself and then create a knew one. If its a 'smart playlist'( purple sheet with a kind of star thing) then you cant manually manage what goes in and out because the playlist operates on certain parameters aka: most played, top rated etc etc.
    On an ipod there are also two kinds of playlists. Regular and 'on the go'. Regular playlists are copied from your itunes to the ipod and you can manage these inn the same way as you would a regular playlist on itunes^^. The other kind of playlist is called on the go. Thee are created by the ipod independantly of a computer. As you browse your library(on the ipod) holding down the select button until the song title flashes adds the selected song to the on the go playlist. To remove songs individually from the playlist, go into the the playlist and select the song you wish to remove and delete it in the same way that you added it in the first place. If you want to clear the playlist simply elect the clear playlist option. These playlist can also be saved. The are then managed in the same way as the regular playlists
    What kind of downloading are you having trouble with. The itunes store downloads directly into itunes. If its from a cd then go into preferences->advanced->importing and there is a drop down box of options of things itunes can do upon inserting a cd. Select import cd and eject. If its from a P2P or torrent system like limewire, utorrent, bittorrent then they download to a folder in your hard drive called downloads. And if one doesn't exist then they create one. Or else they might download to desktop. If you cant find the files then simply search for the name of the downloaded file. To add these to i tunes, if you know the location then you can select import from the file drop doen menu and locate them in the window or else you can just select them all and drag them into the library or else onto the itunes icon in the dock. To put them onto your iPod, you can either sync the ipod with your itunes library. Or else you can select your ipod and sort by the date of the last added file. Then anything added to your library after that date isnt in your library and you can drag files from the librry to the ipod icon in your itunes
    Hope That Helps!!!

  • Allow every user to create subfolders

    Hello everybody,
    after some changes in our internal role system I need your help.
    In BEX there you can go to
    open query or open workbook.
    Then hit the button "Roles"
    There we can see the menu with all visible folders.
    How can I allow every user to create subfolders within the folders he is already allowed to see?
    As I activate a certain role even I (administrator) gets a greyed out view.
    Is there a way that users can create new folders in a convenient way?
    Thanks for your help!
    Harry

    I think the DNSAdmins group will give them too much control over the server (change forwarders, etc..).
    Create a custom MMC snapin and assign related permissions. The picture below may give you an idea:
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • How to allow a user to create his workspace in java(swings)

    hello guys ..
    i have to develop an interface (GUI) where i allow the user to create his own workspace , could anybody tell me what is the code we need. are there any specific inbuilt functions and methods..
    please help
    Imran

    public class Workspaceextends javax.swing.JPanelimplements org.jivesoftware.smack.PacketListener
    The inner Container for Spark. The Workspace is the container for all plugins into the Spark install. Plugins would use this for the following:
    Add own tab to the main tabbed pane. ex.
    Workspace workspace = SparkManager.getWorkspace(); JButton button = new JButton("HELLO SPARK USERS"); workspace.getWorkspacePane().addTab("MyPlugin", button);
    Retrieve the ContactList.

  • Allowing a user to create/drop tables in another users schema

    We have a central shared schema (TEAM). So we can monitor who is doing what users have there own login(USER1, USER2...). Is there a way to allow a user to create/drop objects in another user.
    I.e.
    SQL> connect USER1
    SQL> create team.table1(col1 char(1));
    SQL> drop table team.table1:
    How can this be set up?
    Ben

    Here is what you can do, If you want to keep track of what users are doing.
    Open the glogin.sql file and set the spool like this
    spool /oracle/audit/SID_&_user.logEverytime user logs in it will be populated and you will be able to see who is doing what.
    You can remove the write permission on glogin.sql so that no one can modify it.
    You also need to create a script like this, which would rename it every time same user would login.
    #!/bin/ksh
    time=`date +"%b"_"%d"_"%H"_"%M"`
    ##you need to pass some more variables and while loop to include all the users## ( This is just for an example)
    if [ -f /oracle/audit/SID_SYS.log ]
    then
    mv /oracle/audit/SYS.log /oracle/audit/SYS.log.$time
    fiEdit the glogin.sql file with this script information like this
    host /oracle/audit/file.kshHope this helps, if you need more information let me know.

  • How do I allow other users on my wifi to print from their computers?

    How do I allow other users on my network (wifi) to print on my printers? 

    Hi there,
    You may find the article below helpful.
    iTunes: How to share music between different accounts on a single computer
    http://support.apple.com/kb/HT1203
    -Griff W.

  • How can I allow other users on my macbook to view my iphoto library when th

    How can I allow other users on my macbook to view my iphoto library when they are logged in. I do not have a network, and the users (my family) all log in seperately when they use the computer. Does anyone know? Thank you.

    rdoss
    Welcome to the Apple Discussions.
    If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

  • How do I allow my users to set the option to save a new timezone for future sessions?

    The option to save a newly selected timezone for future sessions has been greyed-out
    in the Calendar Client. How can I allow my users to choose this option?
    <P>
    This is controlled by the settimezone setting on the Calendar Server. By
    default, it is set to FALSE. You can change the value to TRUE in the
    unison.ini settings. The
    Calendar Server must be restarted for the change to take effect.

    Hi,
    Based my research, OOB SharePoint don’t allow anonymous users to contribute contents(Edit, Upload and Add) into list and library.
    This is by design behavior, and it’s a consideration about security in order to help protect your site from potential script injection attacks.
    For anonymous users, only the View Item permission is available for libraries.
    If you want to know more about this, please refer to
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/enable-anonymous-access-HA010113018.aspx
    Hope this helps
    Thanks!
    Stanfford

  • How can I allow a user (client) to choose a local image file (on his hard d

    How can I allow a user (client) to choose a local image file (on his hard drive) and modify it using an applet from his browser ? I am trying to develop a web page that enables the user to choose an Image file, manipulate the image using a java applet, and display the results.
    Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. On the other hand, I can choose and upload any file using a JavaScript form:
    <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="process.asp">
    <INPUT TYPE=FILE NAME="file1"><BR>

    It seems that I can choose an image file with a Java script form and process an image with an applet. How can I choose a file AND process it locally ?
    (I do not wish to upload the file to the server using JavaScript form and then back to the client�s applet for processing since it will be a tremendous waste of resources).
    Will appreciate any solution.
    Thanks !
    ( my email is: [email protected] )

    "Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. "
    You can do this if you sign the applet...

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • I bought a second hand ipad 4 4g the first user forgot the apple id and password, how can i restore the ipad and create a new id and password for it?

    i bought a second hand ipad 4 4g the first user forgot the apple id and password, how can i restore the ipad and create a new id and password for it?

    You cannot get around Activation Lock without the oringinal owner disassociating the iPad from their account.
    See the Activation Lock FAQ for what you and they need to know.

  • How  do you repair a user acct?

    How do you repair a user acct?
    I seem to have a corrupt admin user acct.
    I created another admin acct and the problem does not re-occur. I can open it by Command O and also clicking the finder.
    All other GUI mouse functions appear to be working properly. This problem also exhibits itself on a Jump drive if it is mounted.
    Additionally the "A" icon on the Applications folder mysteriously disappeared. It now displays just a plain folder.
    I am on a MBP running 10.6.8
    Thank you all in advance

    Everything else seems to be working fine.
    I opened terminal and something is puzzling
    it says:
    bryinc-g5:~ bgould$
    This seems to refer to an older mac I have in my office.
    It's not even on nor has it been for sometime.
    My MBP that I am experiencing this issue with was never on the network when the G5 was in use.
    The user name is what the G5 had but is not what this mac is using.
    Very weird
    I am not sure I understood what you meant by dragging the house Icon from the root folder also
    This is what I have so far
    Last login: Mon Oct  3 08:48:55 on console
    bryinc-g5:~ bgould$ ls -la
    total 40
    drwxr-xr-x+ 17 bgould  staff    578 Oct  3 08:48 .
    drwxr-xr-x   7 root    admin    238 Oct  1 17:59 ..
    -rw-------   1 bgould  staff      3 Sep  8 17:55 .CFUserTextEncoding
    -rw-r--r--@  1 bgould  staff  12292 Oct  2 21:56 .DS_Store
    drwx------   2 bgould  staff     68 Oct  3 08:48 .Trash
    -rw-------   1 bgould  staff    219 Oct  2 20:25 .bash_history
    drwx------   3 bgould  staff    102 Sep 11 12:39 .cups
    drwx------+  6 bgould  staff    204 Oct  2 22:17 Desktop
    drwx------+ 12 bgould  staff    408 Sep 26 12:02 Documents
    drwx------+ 15 bgould  staff    510 Sep 26 09:28 Downloads
    drwx------+ 38 bgould  staff   1292 Oct  2 21:13 Library
    drwx------+  4 bgould  staff    136 Sep 20 13:39 Movies
    drwx------+  4 bgould  staff    136 Sep 23 17:27 Music
    drwx------+  5 bgould  staff    170 Sep 10 12:30 Pictures
    drwxr-xr-x+  5 bgould  staff    170 Sep  8 17:55 Public
    drwxr-xr-x+  5 bgould  staff    170 Sep  8 17:55 Sites
    drwxr-xr-x   7 bgould  staff    238 Oct  1 17:58 untitled folder
    bryinc-g5:~ bgould$ /Users/bgould

Maybe you are looking for