User access to the Apex

Dear all,

What is the 'user access' in the Apex. When I type:

Select the username of all_users;

I do not see users that I created at the Apex (I use Oracle XE). What I need is:

I have a table by its name of 'Agents' and I need to let each officer sees its files only without displaying the records of others.

Maybe have a look at this picture you would understand my request.

[Click here to see the image | http://www.9m.com/upfiles/XLr36804.jpg]

Thanks in advance.

I need to let each officer sees its files only without displaying the records of others

In the agents table how do you store the user details (of the apex user who packed / "holds" the record)? In other words how can a record to identify the user, can you have a column where you insert these data, do you establish this apex or use a trigger?

  • If you do not have such a column add a first

    ALTER table add Agents (record_owner VARCHAR2 (100))

  • When you insert records into this table, set this column with v ('APP_USER') as a trigger or directly from the PLSQL process.

  • Then change the report query to filter the records owned by this user

    Select * agents where record_owner =: APP_USER.

  • Tags: Database

    Similar Questions

    • How do I give users access to the addition of other users and groups in weblogic * without * giving administrator rights

      Hello

      Before opening a SR Oracle for the same problem, just wanted to put it out there to see if we can provide a non administrator user access to the Weblogic administration Console so that it can log and ONLY add users and groups, but not change any setting in the administration console. We offer a personalized access? All grain specific to be accessible?

      Please don't give me the links where it says "give read-only access", giving "monitor."

      read only user cannot add new users/groups in the administration console. The administrator credentials can be provided to that user. It just has to be able to connect, go to security domains > myrealm and add new users and groups. nothing else.

      Please let me know.

      Thank you

      Dan

      Thanks Christian.

    • Remote access to the apex applications

      Hi all

      I I find a way to allow access to applications apex of remote machines in my local network. Local access works very well. I need allow users to access their customers-browser web applications by using the URL as http://lugao-pc:8282 / apex. I use Apex 4.1.1 in Oracle 11 g 2, using Embedded PL/SQL gateway

      I've seen other posts that say remote HTTP connection allow the database using DBMS_XDB EXEC. SETLISTENERLOCALACCESS (false); in SQLPlus as SYSDBA. But that doesn't did not help me. I think it is because I use the PL/SQL no Oracle HTTP Server gateway. If am not wrong how do I allow remote access using existing installation?

      Concerning

      Sadik

      Hello

      You must run DBMS_XDB EXEC. SETLISTENERLOCALACCESS (FALSE); If you use Embed PL/SQL gateway.
      If you want to use another HTTP server then it is useless.

      Did you try to turn your firewall server to and see works the connection then?

      Kind regards
      Jari
      -----
      My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
      Twitter: http://www.twitter.com/jariolai

    • Is there a way to give a user access to the users and computers active directory, without being an administrator

      I want to be able to allow user group to be able to reset passwords and create accounts in an organizational unit.  I delegate control of the organizational unit for the group, but if I connect to the domain controller and try opening users and computers active directory, we wonder an administrator password.  I have a mix of two domain controllers Server 2003 and a Server 2008 DC.  Is there a way to give a group access to the users and computers active directory without being administrator?

      For assistance, please ask for help in the appropriate Microsoft TechNet Windows Server Forum.

      Thank you.

    • Add user access to the portal

      Hello

      I have the role of Managing Director on the portal how can I add colleagues more access to the portal, also how to give access to users customers

      Hi Marc,

      Here are the steps to grant access based on roles on the portal of the NMP, please go through this document.

      https://supportforums.Cisco.com/document/12583596/adding-new-users-smart-net-total-care-portal

      Thank you

      Anusha.

    • How to disable the users access to the option 'Auto response' by remote control (SX20 TC7.3.3)

      Hi all

      I need to know how to disable or block the menu option 'Auto response' on the TV screen for users in version SX20 TC7.3.3, because even when I put "off auto answer mode" configurations by browser, users can change to "mode on ' on the remote control, I put the administrator password menu access by remote control with this comand : 'xCommand SystemUnit MenuPassword Set password' but the auto answer option menu, is turned off settings of the menu administrators.
      Any user can change the auto answer mode on or off. I don't know if I can hide this menu on TV option or set password!

      Thanks for help me!

      The only option to hide the user's preferences (ringtone, volume, language, date and time, etc.), it of if you have a Touch 8 or 10 with the codec.  If you use the remote control, there is no way to hide or restrict access to the settings.

      One option is video OSD LoginRequired, but who's going to stop anyone using endpoint unless they log in with a user name and PIN first, however this does not prevent access to one of the parameters once connected.

      The only options you have are trying to keep the disabled setting auto answer, but there is no way to keep off 100% of the time, see below:

      • Using a model of persistent configuration of the TMS, which will define auto answer OFF on a periodic basis.
      • Using the not persistent on the codec, configure endpoint configuration as you want, and then select this mode lock in this configuration.  Every time whenever the SX20 restarts, it will default to whatever the configuration was made in the time mode not persistent has been activated.
    • Photoshop Script - layout of the interface user access within the variable?

      Hello

      I have the following variable as a layout of the user interface of a window, I have button access to the btn_one , but without success.

      var w = new Window("dialog {  \
          margins: 15, \
              btn_one: Button { \
                  text: 'Button', \
                  size: [100,25], \
                  alignment:['right', 'center'] \
              }, \
          }");
      

      Any help to achieve this goal? I need to try the following, it does not work.

      btn_one.onClick = function(){
      }
      

      Thank you

      In your case, this may work:

      w.btn_one. OnClick();

      Not sure because I never build windows like that. I first create the window, then add the button on a separate line.

    • How to give users access to the database schema?

      I have the following databases:

      Running test of Oracle9i Enterprise Edition Release 9.2.0.6.0
      Production is currently running Oracle9i Enterprise Edition Release 9.2.0.7.0

      I created a user at the same time and on the production side, it works fine, but on the side of test, I get ORA-1017: name of user and password invalid. connection refused when I try to connect via my web application or when I try through sql more is not log to the side test but does for the Pb of the production.

      How can I compare two users?
      During the creation of my table, procedure, etc. scripts, I have granted access this even sure if the user has rights to the tables and other objects.

      There is another main user account that is able to do everything that I need so I know it's possible, but need me something to allow my new user to connect.

      Thanks for any help you can give me.

      Published by: jerry8989 on March 16, 2012 08:10

      jerry8989 wrote:
      I have the following databases:

      Running test of Oracle9i Enterprise Edition Release 9.2.0.6.0
      Production is currently running Oracle9i Enterprise Edition Release 9.2.0.7.0

      I created a user at the same time and on the production side, it works fine, but on the side of test, I get ORA-1017: name of user and password invalid. connection refused when I try to connect via my web application or when I try through sql more is not log to the side test but does for the Pb of the production.

      How can I compare two users?
      During the creation of my table, procedure, etc. scripts, I have granted access this even sure if the user has rights to the tables and other objects.

      There is another main user account that is able to do everything that I need so I know it's possible, but need me something to allow my new user to connect.

      Thanks for any help you can give me.

      Published by: jerry8989 on March 16, 2012 08:10

      "ORA-1017: name of user and password invalid; connection refused '.

      Oracle is too easy to lie about it. It has noting to do with what privileges you have given to the user. There is never far enough to worry about privileges. Either you provide a user name does not exist, or you provide the wrong password for this user name. Period.

    • Unable to get user access in the planning

      Hello
      I created a new user in shared services and gave him access to the planning of an application, but still when I am trying to log in with this user in the application of planning its gives me an error "unable to synchronize with the provisioning of users. Check the journal of planning for details «,»
      now I use hyperion 9.3.1 and edited records in order to create a log file of planning, but despite this there is no entry on this error in the log file of planning?

      Take a look on:-http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/apfs03s03.html

      See you soon

      John
      http://John-Goodwin.blogspot.com/

    • for relaxation: where is the table created by the Wizzard users create in the APEX?

      Hello everyone and Tony in particular since it was followed and mentoring my progress on this.

      Well,.

      Here we have 2 things:



      (1) when the wizzard of Administration > database > manage users creates a user. Where is the table it creates? What name does have? Why is it not visible in the object browser? I need the name of this table to put it on my trigger (I called users_table)



      (2) how to do that whenever a user connects, his formerly generated by the trigger sequence is used by a State to extract personal data (it's sort of VPD) in this case would be, how do you know what surrogate key, we need to call. To do this, I think, the thing would be to request the: = APP_USER (that was created in step 1) and each APP_USER will surrogate that are associated with this key.



      I set up a simple trigger, but just the substring of the concatenation of the given username, the system randomly generated pwd up to 12 characters.



      CREATE OR REPLACE
      GENERATE_SEQUENCE RELAXATION
      AFTER INSERT ON USERS_TABLE
      FOR EACH LINE
      BEGIN
      insert into users_table (surrogate_key)
      values (SUBSTR (¦¦ username password), 1.12);
      END;


      but as I said, this users_table must be the table where the wizzard to create users stores its data,... .but where is this table?


      Thank you very much

      Alvaro

      Published by: Alvaroe on February 6, 2010 09:13

      Published by: Alvaroe on February 6, 2010 10:00

      Hello

      (1) create a table and then start filling in

      I think you need to have a custom table of your patients (and users), say,

      CREATE TABLE patients
        (
          "USER_ID"   NUMBER,
          "USER_NAME" VARCHAR2(100 BYTE),
          "FIRST_NAME" VARCHAR2(100 BYTE),
          "LAST_NAME" VARCHAR2(100 BYTE),
          "PASSWORD"  VARCHAR2(4000 BYTE),
          "CREATED_ON" DATE
          CONSTRAINT patients_PK PRIMARY KEY ("USER_ID")
        );
      

      you need to build customized in your appl authentication and do not use the Apex or Db authentication.
      To do this, you must do this table in the schema that is used in the analysis of your application's schema.
      And you need create the function custom_hash like this:

      create or replace
      function custom_hash (p_username in varchar2, p_password in varchar2)
      return varchar2
      is
        l_password varchar2(4000);
        l_salt varchar2(4000) := '55PSP4P78JLDQ2AMBXQ60DW9OW7G9Z';
      begin
      
      l_password := utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5
        (input_string => p_password || substr(l_salt,10,13) || p_username ||
          substr(l_salt, 4,10)));
      return l_password;
      end;
      

      (2) then build the trigger when it detects that I completed a line
      It generates this sequence AND inserts it into another table (as you say, I could not put it in the same table)

      users must register themselves?
      Or register?
      Then you must create the free registration form or a form where you fill in your table above users.

      I think that your user_name must be unique. Put a Unique about this strain.

      When creating the patient button is pressed, then the above table is filled (you must and name, user in the form fill password)
      You must calculate USER_ID, user_name, password and created_on, this can be done in the trigger

      create or replace
      TRIGGER patients_trg_bi
        before insert on patients
        for each row
      begin
      if :NEW.USER_ID is null then
          select patients_seq.nextval into :NEW.USER_ID from dual;
      end if;
      
      if :NEW.CREATED_ON is null then
          :NEW.CREATED_ON := SYSDATE;
      end if;
      
      if :NEW.USER_NAME  is null then
          :NEW.USER_NAME  := :NEW.LAST_NAME || :NEW.USER_ID;
      end if;
      
         :NEW.PASSWORD := custom_hash(:NEW.USER_NAME, :NEW.PASSWORD);
      
      end;   
      

      you create the sequence of patients_seq

      In this case the surrogate key be hashed password.
      And you can use it by selecting table using patients: APP_USER
      that is when the user is connected to his USER_NAME, variable APP_USER is filled

      (3) then, the SQL query would recover this surrogate_key and show as connected individual data.

      Yes, when the user logs on, the key is populated by users based on table: APP_USER
      using

      select password
      from patients
      where user_name = :APP_USER;
      

      You must understand how EVP can be implemented at the Apex.

      You can use any application for this SURROGATE_KEY say

      which is calculated by Application of calculation on the new Instance

      4) but in order to know what to ask, surrogate key should be a key with the substitution APP_USER connection

      is that correct?

      Yes. You have the info from the users table

      Do you have examples of Applications Apex somewhere.
      If you use Apex 2.1, you can install it from the repository and if you have 3 Apex, they are normally automatically installed if you create the new workspace.

      You can use it a lot to manage users.

      Concerning
      Oleg

      BTW,

      Alvaro,
      Yo have your appl?
      If you sent your Db and tables all the Pl/SQl, as well as application Apex, you have for me by email, I can check and make/suggest improvements
      (For free, of course)
      I need to check what you did there, otherwise it seems to be a very long subject.
      Well, I have the time to discuss

      Yes, you can make the trigger like this

      CREATE OR REPLACE
      GENERATE_SEQUENCE RELAXATION
      AFTER INSERT ON USERS_TABLE
      FOR EACH LINE
      BEGIN
      insert into GENERATED_SEQUENCES_TABLE (lastinserted_name, surrogate_key)
      values (SELECT name from USER OF USERS_TABLE WHERE USERID..., SUBSTR (lastinsertedname¦¦ password), 1.12);
      END;

      but where the values are made here
      SUBSTR (lastinsertedname¦¦ password), 1.12

      Published by: oleg.lihvoinen on February 6, 2010 14:55

    • How my new users access to the data in the database?

      Hello

      I created a database with new users who will need to access the database, but as soon as I connect to one of the new users can't access tables or any of the data that I had inserted previously.

      Any help would be greatly apprciated!

      Thank you

      Rory

      (Running Oracle 11 g)

      As connect you to the database by default, you can only access your objects or object that you access directly by prefixing its owner. In your case, not only you must give the user but also needs prefix synonym/owner access rights to access these objects. for example

      user that has (you) have following things:

      EMP (grant select on emp to UserB ;)

      Dept (grant select on dept to UserB ;)

      User B

      Select * from UserA.emp;

      Select * from UserA.dept;

    • Definition of user access to the specific context.

      Hi experts,

      I have a requitement

      We have some limitations for the user to access specific scenarios. But what is happening is that these users can able to run scenarios in any CONTEXT.

      If we want to restirict the user to access a specific context, how can we do?

      Please advice...

      concerned,
      K

      Hi K,

      Adding a few more points to the previous answer,

      user10439173 correct me if I'm wrong... :)

      1 duplicate the CONNECTION profile provided with ODI (Sunopsis) and rename the copy as MY NG CONNECT.
      2. in the new MY NG CONNECT profile, for the purpose of 'Context', on the ' * view * ""Definition"of the method tab, uncheck"class Privilege ".
      3. assign the new profile MY NG CONNECT to targeted users ODI (Sunopsis).
      4 create/update the user with this profile. Finally, drag & drop on each user name, the contexts to which access must be allowed (since the topology Manager).

      Thank you
      G

    • Impact and possibility to deny user access to the registry key

      What is the possibility (how can I do it) and the impact of the blocking of the key following registry or certain binary values within active directory on all users in the domain

      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

      Hi Omar 123.

      Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows 7 networking forum.

      http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

      I hope this helps.

    • Windows 7 - How to allow a user access to the computer at a program that has been installed as a local user

      I have a professional Windows 7 operating system and have a program that was installed when the user is logged on as a local user.  Is it possible to give the same user rights to run this program without having to reinstall the program when the user is connected to the domain?

      Thanks for any help you can provide.

      Microsoft Answers is for consumers to related issues and it would be preferable for you to post in the following TechNet forum.

      http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

      Sincerely,

      Marilyn

    • How to activate a user access to the removeDocument method?

      Hi - I need allow the user of the API to delete documents using removeDocument method. When I call this method with a documentKey, I get an error from the API:

      [removeDocumentResult] = > stdClass Object

      (

      [errorCode] = > INVALID_API_KEY

      [errorMessage] = > you don't have permission to run this method of the API.

      [success] = >

      )


      Too bad, that the error code indicates that the API key is not valid (it is not - I was able to send documents through ADC with the same key), but I don't see anywhere in the user dashboard that would grant permission to the user of the API to run removeDocument.


      Any help appreciated - thx

      Hello Nbennett25,

      The method mentioned above would require permissions to be activated and you must contact the Support for the same:

      Support | services of Adobe eSign

      Kind regards

      -Usman

    Maybe you are looking for

    • Officejet Pro 8600 cartridge problem

      Replace my cartridges with HP 951XL and got an error cartridge problem, "one or more cartridges appear to be damaged. Cyan and yellow. Remove them and replace them with new cartridges. "Brings back the cartridges new Office Depot and exchanged out th

    • DRM for digital copy movie

      I am trying to download a digital copy of a movie that was recently PURCHASED. It says I need to update security for Windows Media and sends me to a link of Windows. The "update" button is not available to click. How do I put security update then?

    • 4 usb ports - this device is disabled because the firmware of the device did not give him the necessary resources. (Code 29)

      m facing a problem with hub 4 ports usb of my... When I connect usb hub my with my usb keyboard and mouse, and then the lights of the suite to get devices but they doesnot work... and the error message shows... I checked in Device Manager and I got t

    • Pack of fonts for adobe reader DC

      Y at - it an English pack of fonts for adobe reader dc that I can download? I found the pack of Asian fonts, but not an English.

    • Mask works not properly on the model of clipping.

      Previously, I've recreated a model; several triangles in black. I used a clipping mask to change its color to gradient. It worked very well and no problems. Although recently recreated this model (double size) and then tried a clipping mask. It is no