How to create many user in the same database

hi
my question is "How to create many user in the same database(application)?"
for example, i have students, teachers, and staffs user using my application.
i can create many users to use the same application right?, how ^^''' ???
(right now i can only create application and then it shows every data in my DB
but i want it to show only the data for the user who login to that application)
Thanks.
ps. i'm newbie, please help T^T

You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
cheers,
Ron

Similar Messages

  • How to create different users in the same iPad 4?

    I would like to share my new iPad with other person. How can I create two users.?

    The iPad does not support multiple user accounts.

  • How to create an object within the same class???

    hi im just a newbie
    i v been always creating an object from the main class..
    but how to create an object inside the same class??
    i got main and students class
    the main got an array
    Students[] stu = new Students[]
    and i got
    stu[i] = new Students(id,name);
    i++;
    but i wanna do these things inside the Students class..
    i tried ..but i got errors.....
    how to do this
    .

    javaexpert, :)
    I really have no idea what you are trying to do since you say you've always been creating an object from the main class, yet you always want to create an object inside the same class.
    I'll assume that you have an object in the main class that you are trying to access from the Students class.
    If you are trying to access objects that are contained within the main class FROM the Students class, then know that there are two ways of doing so, one being static, and the other dynamic (look up definitions if unclear):
    1.) make the objects in the main class both static and public and access the the objects using a convention similiar to: Main.object; It's important to note that Main is the name of your main class, and object is a static object. There are better ways of doing this by using gettter/setter methods, but I'll omit that tutorial.
    2.) Create a new instance of the main class and access the objects using a similiar fashion: Main myInstance = new Main(); myInstance.myObject;
    You should really use getter and setter methods but I'll omit the code. In terms of which approach is better, step one is by far.
    I don't mean to be condecending, but you should really brush up on your programming skills before posting to this forum. This is a fundamenetal concept that you will encounter time and time again.

  • Hi everyone, to use the portal with many users using the same portal user?

    I have an another question is possible to use the portal with many users using the same portal user with diferent roles in the same time?
    thanks

    Hi Israel,
    It is possible to have same user logged in through differnt terminals or browser windows. However if there are say 10 roles assigned to that user, all 10 will be visible in all the windows. However you may open and work on different roles.. in the different windows.
    Note that the real time collaboration features shall not be available if the same user logs in multiple times.
    Hope this is useful.
    Regards,
    Anagha

  • WebTools Creating multiple users for the same User

    I had to make a few changes to a BP in SAP which will synch back into WebTools but now I am getting multiple users for the same contact. For example my user is cspehar_1 now in Webtools there are cspehar_1, cspehar_2, cspehar_3 and so on up to _8.
    This is occuring for several users in webtools.
    What causes this and how do I fix it?
    Thanks,
    Craig Spehar

    Hi Craig,
    There are two ways to cause this that I am aware of:
    1.  Change the "Business Partner Synch Contacts Field" setting after the initial synch.
    2.  Change the Web UserID on the BP contact in B1 (OCPR.U_PRX_SID).
    After that, update the user in WT  and synch. (might also happen if  you update the BP in B1)
    Since the synch is using the OCPR.U_PRX_SID to identify the contact, it will not be able to find it in B1 if the U_PRX_SID has changed.  When it does not find it, it assumes it needs to be created.  This results in a duplicate.
    The solution is to reset the U_PRX_SID back to what it was or set the synch contact field back to what it was.
    Then delete the last created duplicate contact from B1.
    There may be further data corruption issues here.  If orders/quotes/opportunities or other dependant data has synchronized referencing the duplicate user, these data will need to be correct as well.
    FYI, whatever caused this was probably at the root of your order problem as well.

  • Create two users for the same schema

    Hi,
    I want to create 2 users, with different privilleges each, so that they can have access to the same database tables and also to their metadata tables (user_sdo_maps, user_sdo_themes, user_sdo_styles). I have created the tables under the first user and then grant access permission to the second user. The issue is that, at MapBuilder tool, the second user don't have access at the themes and the base maps of the first user, although i grant full access permission at those views.
    PS: i use spatial data, should i post this at the spatial category?

    In every dictionary view user_ always relate to the current user.
    You need to use
    all_sdo...
    where owner=....
    You may need to repost this in the Spatial forum though in an attempt not to convert this forum into a dumpground,
    but I doubt the answer will be different.
    Obviously, the all_sdo etc views are documented.
    Sybrand Bakker
    Senior Oracle DBA

  • Creating a new user in the same database

    I have a user in my database who owns all the objects of application.This user has sysdba privilege.
    I want to create a user(schema) in the same database which should also contain exactly the same objects.
    But at the same time the newly created user should not have sysdba privilege.
    What would be the best possible way to do this?
    Can I use expdp/impdp?If yes which options should I use for expdp and impdp?

    Hello,
    Can I use expdp/impdp?If yes which options should I use for expdp and impdp?After exporting the source Schema (with Datapump), you may create a User on the Database with specific Tablespace and Roles / Privileges (without the DBA role).
    Then, with the Parameter REMAP_SCHEMA=source_schema:target_schema, you may Import with Datapump the exported Objects into the User/Schema newly created:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_import.htm#SUTIL927
    Hope this help.
    Best regards,
    Jean-Valentin

  • Newbie :  How can i create 2 users with the same name on diff domain name ?

    I have two domains on my server
    exemple1.com
    exemple2.com
    and i want to create one user for each domain with the same name
    [email protected] and [email protected]
    curently i can create one user, and it's the same user for both domains :-/
    how ?
    thanks
    Hète

    I must say. I am equally curious about this. i've played a lot in Communigate and it is easy to do there but how does one do this in apple mail?

  • How to create multiple copies of the same mailing label?

    I know how to create mailing labels for addresses in my address book. How do I print an entire sheet of the same address on a page of mailing labels? The preview when I select 20 copies of one address label does not show the same label on multiple times on the page, only once. Does that mean it will only print one label per page for a total of 20 pages or does it only show one since they will all print the same?
    I'd like to use this to create custom return address labels

    It's tedious but you can create a new group in Address Book, make 20 entries (or however many entries would make one label page's worth) for your own name and print just that group.
    Avery has free software that I believe does what you want but I haven't used it. Comments on the download page indicate the Avery software lacks on directions.
    http://www.avery.com/avery/en_us/Templates-%26-Software/Software/Avery-DesignPro -for-Mac.htm?N=4294967076&refchannel=3980ac83ae70a110VgnVCM1000002118140aRCRD

  • How can multiple Mac users have the same iTunes?

    I have a MacBook, and my wife and I have separate accounts on it. It's easier that way for separate Facebook accounts, email, etc. However, it's complicated when it comes to iTunes and applications. We both want to use the same iTunes library. We have iTunes Match, but I'd rather not re-download my entire library when it's already on my computer just so we both have access to it. I tried following the directions at this article, but it didn't work. So, how can both my wife and I, from different accounts on the same Mac (and using the same Apple ID) access the same iTunes library and have any changes reflected on both accounts?

    Obviously, if you just need to copy those iTunes folders, you don't need the ability to write; just the ability to read, which you already have.
    Besides, the /Users/Shared folder is indeed an excellent location for a shared iTunes library; I hadn't yet considered that. Ignore all the above instructions. First, make sure your two iTunes libraries are in sync. Use an external hard drive (or mess with permissions) to do what copying you need to. Then go into iTunes and iTunes>Preferences...>Advanced and change the iTunes Media folder location to /Users/Shared. All of your iTunes content should be copied (or moved) into /Users/Shared.
    After that, do the same thing in the other account, and both your iTunes libraries will now be pointed to the same location.

  • How to create reports servers with the same name in two nodes in Reports

    Greetings
    We are migrating Oracle Application Server 10g (9.0.4) to a better hardware infrastructure with high availability. We want to provide 2 new Oracle Application Server 10g (9.0.4) in High availability and we want to avoid modify the existing forms and reports code, but the code is looking for a specific reports server name when calling reports, but I couldn't create the same reports server name in the both oas machines, I could create the reports server in only one node. I want to create a reports server with the same name in both nodes but it is not possible. I know that there is a procedure to do that in 10.1,2 (Note 437228.1, How to Create Two Reports Servers With the Same Name in the Same Subnet) but I couldn't find the equivalent procedure in 9.0.4.
    Anybody kwows how to create a reports server with the same name in two nodes using 10g (9.0.4)
    Thanks
    Ramiro Ortiz.

    Hello.
    I applied the patch 4092150 on my oas 9.0.4.2 and I modified my rwnetwork.conf file changing the port to 14022 by following the note "How to Create Two Reports Servers With the Same Name in the Same Subnet? [ID 437228.1]" but I am facing the same error rep-56040 "server already exists in the network".
    When I run osfind command I get the following information (My reports server is senarep and I want to create it on SNMMBOGOAS10):
    osfind: Found 2 agents at port 14000
    HOST: SNMVBOGOAS10.sena.red
    HOST: SNMVBOGOAS09.sena.red
    osfind: There are no OADs running on in your domain.
    osfind: There are no Object Implementations registered with OADs.
    osfind: Following are the list of Implementations started manually.
    HOST: SNMVBOGOAS10.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep2
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep2
    HOST: SNMVBOGOAS09.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep
    Any Ideas?

  • How to make all users have the same working environment?

    Hi guys,
    thanks for helping out on this issue.
    Is there a way to set all users on your system to have the same working environment? I believe, as root you can edit the /etc/profile. But when I looked at the file, I was confused. I had no idea where to add stuff because it was a script.
    Please if anyone can help me explain how to customize system wide working environments, I will be very grateful .
    Thank you
    Arrey

    Hi.
    It's not clear what you understand under system wide working environments ?
    /etc/profile it's one possible solution.
    Another way - put custimozed .profile to all users and use customezed */etc/skel* for new users.
    Regards.

  • How to support multiple users at the same time?

    Hi all,
    I have a Labview software which controls a analyzer via GPIB connector. When user A is using the software, user B has to wait until A is done. But actually, the analyzer is not very busy, when user A is using the software.
    I want user A, B, C and D can use the software at the same time. just like we can open Multiple websites at the same time.
    How can I program the software, so that the software can be open multiple times? Do you have any example?
    Thanks a lot.
    Steven
    Solved!
    Go to Solution.

    Are all the users going to be measuring the exact same thing from the same instrument?
    It would be possible to write a separate instrument server application that would handle all the direct interactions with the instrument. When one of the users needed to access the instrument, they would gain access to it through this server.
    The big, Big, BIG caveat is that each interaction with the instrument would need to be atomic. In other words each access would need to configure the instrument, initiate the reading, report the results, and then reset the instrument back to some known default value.
    As Dennis said, not a trivial process, but probably do-able...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I share user in the same workspace but different applications

    I recently created a new application (new) in the same workspace as my old application (old).
    I have about 35 application express users. They are stored in uppercase.
    The new appl (old) , login page will only accept the DB user login and Not the application users. When I type it in uppercase, it revert it to lower case.
    I have no authentication schemes, uses all defaults. I created a DB user and 35 application users.
    It give me " Invalid Login Credentials'.
    I am due to upgrade tomorrow, but now have run into this problem!!
    Desperate

    Angela,
    That is not clear.
    I recently created a new application (new) in the same workspace as my old application (old).Now you have exactly two applications in that workspace.
    I have about 35 application express users. They are stored in uppercase.Okay.
    The new appl (old) , ...What?
    ...login page will only accept the DB user login and Not the application users.What DB user did you create and why did you create it? Your application must be using a different authentication scheme that the one you intended. Check the current authentication scheme and set it to the Application Express scheme (make it current) or whichever scheme matches that used by the working application.
    When I type it in uppercase, it revert it to lower case.I can't explain that unless you created a database user account using double quotes around the lower-case name.
    I have no authentication schemes, uses all defaults. I created a DB user and 35 application users.Again, why did you create a DB user?
    I am due to upgrade tomorrow, ...What is an upgrade?
    What is your current database version and Application Express version?
    Scott

  • How to Modify multiple users at the same time.

    Hi All,
    I oversee a lab with 8 24" imacs running 10.4. Each machine has the same set of guest user accounts. The machines are not connected by a actual server, although I can dump files to a common folder. My problem is every time I want to make system pref changes I have to go into each user account to apply them, (i.e.,adding a new monitor profile). Any ideas or work-arounds out there?
    Thanks
    Phil

    Hi Phil, and a warm welcome to the forums!
    It's not clear if these are connected in anyway, but if they are, something like Timbuktu® Pro for Mac OS X, or ARD...
    http://www.netopia.com/software/products/tb2/mac/
    http://www.apple.com/remotedesktop/

Maybe you are looking for