How to get the schema of the APEX by username in PL/SQL?

Hey, guys:

I have to write a PL/SQL procedure, which can become the apex (schema of the user) user group that we have defined by their Summit. I know I can get user account in reference to v (app_user), but I'm not familiar with the APEX API security management. is there a method to get the user APEX scheme providing the username as a parameter?

Thank you.

Sam

lxiscas wrote:
Hey, guys:

I have to write a PL/SQL procedure, which can become the apex (schema of the user) user group that we have defined by their Summit. I know I can get user account in reference to v (app_user), but I'm not familiar with the APEX API security management. is there a method to get the user APEX scheme providing the username as a parameter?

Thank you.

Sam

You can simply use APEX_UTIL. GET_GROUPS_USER_BELONGS_TO

Tags: Database

Similar Questions

  • How to get the value of a column in sql query?

    Hi, anyone knows how to get the value of a column in sql query?

    Here is my code, the value must be 1350079224397 in my PB, but I get 0

    QString query ("SELECT version FROM db_version");

    QVariant result = sda.execute (query);
    QVariantMap versionMap = result.toList () such () .toMap ();
    If (! versionMap.IsEmpty ())
    {
    qDebug()<"Version: "=""><>
    }

    OK, I have the solution

    QString query ("SELECT version as version FROM db_version");

  • How to get the apex developing system variables

    Hi all

    Please help me find system variables, such as user name, the date system, workspace name, Application name, name of the registered source (field of the table) etc... in the apex development environment.

    Thank you
    Dennis

    Hi Dennis,

    If you want to get all the items page,... on the current page have a look at the views of the APEX dictionary. You can query all the metadata of your application at run time. For example

    select item_name
      from apex_application_page_items
     where application_id = :APP_ID
       and page_id        in (0, :APP_PAGE_ID)
     order by item_name
    

    will return the page all items on the current page and on page 0 names. Page 0 is a global page where all the components of this page to get merged into the current page during execution.

    The APEX_DICTIONARY view to return all the available Apex dictionary views.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How to get the value of PMT in oracle?

    Hi all

    I need to calculate the value of the PMT


    There is the Excel PMT function == > PMT (rate, nPer, PV, (FV), (TYPE))

    I have to calculate using pl/sql.

    Can any body help how to get the value of PMT in PL/SQL?

    Thanks for your help.

    Kind regards
    Iwanto

    There is no Oracle built-in function to calculate the payments, but the formula is easy to find. If you look at using Excel PV function, you should find the formula that excel uses to calculate. You can rearrange the calculation in terms of payment. If FV and TYPE are 0, then the calculation is

    PV*rate*power((1+rate),nPer)/(power((1+rate),nPer) - 1)
    

    You don't need really PL/SQL to do this.

    Kind regards
    Bob

  • How to get the LOGO and company name in the theme of the 4 apex

    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.
    How to get the two logo and the name of the company?

    Thanks for your help.

    Kind regards
    Sébastien Pallav.

    Pushpesh Pallav says:
    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.

    The word is spelled 'then', not 'den '.

    How to get the two logo and the name of the company?

    Select the text, and include HTML, making reference to the image in the text:

    
    

    The image src URI used depends on the location of the image, which you have failed to specify.

  • How to get the name of a page class in the apex oracle

    Hi all

    Can you get it someone please let me know how we can get the class of a page or area name in the oracle apex? I would also like to know how to get the DOM object for particular item ID.

    I appreciate any help on this.


    Concerning
    REDA

    If a category exists already, then you can find them by inspect element in firefox/chrome browser and look like to class = «MyClass...» »

    If there isn't one, then you can add via - point edit > attributes of the HTML Form element > class = "yourclass.

    See this http://www.w3schools.com/tags/att_global_class.asp

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

  • How to get the OSB to stop adding port # in a published WSDL endpoint

    This is the thread more close to you I could find in my question, but is still not quite what I'm looking for: How to get the ip number in WSDL instead of host name? I have a server behind a VIP of the OSB, and I publish a proxy for external customer service to call. The VIP only accepts connections over SSL/https. OSB hosts only services over http port 80, and the VIP manages connectivity and security between them.

    I wrote a wsdl by hand, set my endpoint address (https) VIP point, has created the proxy service and deployed to the OSB. I can test the service throughout the day in SoapUI calling the VIP, well. However, when the client calls https://VIP/myService/?wsdl, he sees endpoint from the wsdl populated as http://VIP/myService:80.

    How can I prevent the OSB adding: 80 endpoint in the wsdl file? This makes it unusable for any appellant client generate the code by calling? WSDL, so we have to export the wsdl file and schema files and provide customers by hand. What configuration settings we can change that will fix this behavior?

    We had the same problem.
    in the cluster/http configuration, change the HTTP/HTTPS port number, which will appear in the generated WSDL from the frontend

  • How to get the value of a * Global * Application point of JS

    If we declare an element of the request, which is NOT a level of the page in question, how we get the value of this element in an Action dynamic JavaScript on a page?

    For example, we declare a "global" variable as an Application named DEFAULT_AJAX_SEPERATOR and set its value with a calculation of the claim "on the new Instance" a moment later, on a page of the application, we would like to get the value of DEFAULT_AJAX_SEPERATOR via JavaScript.

    Page* level syntax element...
    $v( 'DEFAULT_AJAX_SEPERATOR' );
    .. How does not work. I don't understand why it's like $v can only access the elements on the page. However, the APEX is clearly able to get these global values since, for example, they are available in PL/SQL blocks. Also, I know that it is on the session object, because I can see it when viewing the session.

    So... What is sauce secret for obtaining this value?

    Thank you

    -Joe

    Hello
    Use something like this in your javascript code.

    var appItemVal = "& DEFAULT_AJAX_SEPERATOR.";

    Thank you
    Naidu789.

    If you think, I responded to your question, please mark as answer.

  • How to get the ddl of many paintings in a statement

    Hi all

    I have a scheme. It has 150 tables. I chose dbms_metadata.get_ddl ('TABLE', 'TABLE_NAME', 'SCHEMA') of double;
    It worked for me, but I have 150 paintings. There is a lot of time to do.

    Is there a faster way to do?

    Thank you!

    Dan.

    Duplicate - already replied to How to get the ddl from several tables in a statement

  • How to get the values of the cells of an interactive report?

    Hello

    We use the APEX 4.0, with Oracle 10 g r2 on Windows XP.

    I have a page with an interactive report, and I configured the "link" column to link to a target custom (instead of see a row).
    This custom target is simply a call to a function of ajax (I hope!) view more information (in another region) on the clicked folder.

    I think I have to display the primary key in the report and then get the value of call my function as:
    javascript:my_function(ID);
    to be able to find the information right on the straight line.

    But, how to get the value?

    Kind regards.

    Yann.

    Hello
    Got to the report attributes tab and scroll down to the section of the link column. Click on the lightning bolt next to the column value, a popup displays Columsn names in reports of each locked in a pair of #.

    You pass the column for your javascript like this function

    
    javascript:my_function('#ID#');
    

    Kind regards

  • How to get the names of the tabs in the void?

    Hi all

    Could someone tell me how to get the names of all the tabs of void?

    I have Parent tab T1. T1 has 3 tabs sup T1_1, T1_2 and T1_3.

    I would like to have T1_1, T1_2 and T1_3 names tab in the list.

    Thanks in advance!

    Dip

    Dip,

    You can get the name of the tab of the apex, apex_application_tabs & apex_application_parent_tabs dictionary views. Thank you.

    Kind regards
    Manish

  • How to get the required column, the names of tables for the preparation of the report.

    Based on the MD50 how to get the exact name, the table names he joined for report development. as I am new on this project and the purchase of failet for R12.
    How can I start my approach to prepare the data for the report model? How can I search the database based on the respective diagrams of means?
    all input appreciated

    Hello

    You can find information about schema objects in eTRM Web site, you can also consult the documentation for product/module and see if it helps. If you already have any report (standard or custom), you can enable the trace and run the program to see which object it access or open the report using Report Designer and see the code.

    ETRM Oracle
    http://ETRM.Oracle.com

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • How to get the text have the same effect as the video?

    Hello

    For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.

    For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?

    A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.

    EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.

    Thank you

    One way is to create a clip made up based on the title and the original clip. Then apply the effect.

    Another way is to use an adjustment layer.

    Good luck.

    Russ

  • How to get the podcast of the website on the phone

    I was told to put that feed into the PODCASTING app on your iOS device.

    The site in question is https://randirhodes.com/how-to-get-the-podcast/

    I paid for a premium podcast, now how o I get this podcast to appear on my iphone 6 s more in the podcast app?

    Podcasts > select my Podcasts > press the '+' > Add Podcast > paste the URL that you got on the site.

Maybe you are looking for

  • Mozilla ISP's database can't find my existing email address so what should I put in?

    I downloaded Thunderbird to my new to me but venerable computer Dell laptop running Windows XP. I ask to find my existing email account - what is orange, but was originally with Freeserve - this is reflected in the name. You bird said ISP of its Mozi

  • Change my username

    Hi, I'm looking to change my username, I use mac, I'm single again and I would love to make use of my family name again.

  • Problem using Bootcamp to install Windows 8.1 MacBook Pro

    Hello I have a MacBook Pro (retina, mid-2012) running OS X El Capitan v10.11.1. About two years ago, I installed Windows 8.1 using boot camp with no problems. Since then, I upgraded HDD from the laptop of the original 500 GB SSD to a Transcend JetDri

  • Photosmart c309a all in a pr: driver for Photosmart c309a with Mac OS 10.10 (Yosemite)

    I plan on upgrading to Yosemite, Mac OS 10.10, but do not know if my Mavericks driver will work or if I need to download a new one. If I need to download, can someone tell me where to find it? I'm completely lost in the drivers section. So many links

  • ActiveX and Camembert problem

    I am trying to create a bar of pie chart in Excel 2003. I am able to insert my data and create the graph, but I need to put the "SplitValue' for 6. I was able to find the property to achieve this, but I get an error when I run the vi (see table).  An