How to get the list of all the security Roles defined ?

I am trying to programatically get a list of all the roles defined
in the weblogic. How can I access this information using the exiting
MBean interfaces.
thanks
Prasad

Wrong forum. Just a hint.

Similar Messages

  • How to get a list of all the clients logged in to the network

    hiii
    how can i fetch a list of all the users who are currently logged on the network...so that the list can then be sent to a database..plz tel me what techniqe can followed to do this....thanx

    hiii
    how can i fetch a list of all the users who are
    currently logged on the network...Easy, nobody logs onto the network so this is always nobody.
    You may be asking, how do I determine all the users who have logged in to all the PCs on the network.
    Write a program which is added to each user's Startup a program which updates the database with their details. If you have network scripts, this can be added to the user' network login batch script.

  • How do i get a list of all the apps i have purchased this year

    how do i get a list of all the apps  have purchased this year and how much each app was

    Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History).  This gives you a comprehensive list of apps you've purchased.
     Cheers, Tom

  • How do you get a list of all the trigger DDLs?

    I want to get a list of all the DB trigger DDLs of owner 'ABS'. I want to do it using 1 SQL statement.
    This is what I ran:
    SELECT
    TO_CHAR(DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS'))
    FROM
    ALL_TRIGGERS
    WHERE
    OWNER = 'ABS';
    I get this error: [1]:
    (Error): ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4414, maximum: 4000)
    Then I looked up in the web and they ask to use DBMS_LOB.SUBSTR instead. So I do that:
    SELECT
    DBMS_LOB.SUBSTR(DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS'), 32767, 1)
    FROM
    ALL_TRIGGERS
    WHERE
    OWNER = 'ABS';
    Now I get this error:
    [1]: (Error): ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1
    Looks like you cannot show more than *4000* chars. There are 43 triggers whose DDL is more than 4000 chars long.
    Why is this?
    How can I solve my problem?
    Edited by: Channa on Feb 16, 2010 9:45 PM

    Herald, fantastic news. SET LONG did the trick.
    But I had to put a very big value. 32000 was not enough. Otherwise some of the triggers (big ones) got cut off.
    This is my complete code which did it.
    SPOOL F:\Channa\zz_zzTemp\Binuka\OutPut.txt
    set trimspool on
    set pages 0
    set long *1000000000*
    set linesize 32767
    SET TERMOUT OFF
    SELECT DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS')
    FROM ALL_TRIGGERS
    WHERE OWNER = 'ABS' AND trigger_name NOT LIKE 'BIN$%'
    SPOOL OUT
    THANKS A LOT. REALLY APPRECIATE IT.
    P.S: I had to include the NOT LIKE 'BIN$%' in the where clause because otherwise I got this error:
    ERROR:
    ORA-31603: object *"BIN$cqXDSqghrFngQKjAJAovgw==$0"* of type TRIGGER not found in
    schema "ABS"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2805
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    no rows selected
    I THINK BIN$... triggers are dropped triggers in the DB recycle bin???
    Edited by: Channa on Feb 17, 2010 2:58 AM
    Edited by: Channa on Feb 17, 2010 3:01 AM

  • How to print a LIST of all the layers

    Does anyone know how to print a LIST of all the layers. I am not asking how to print the document or the individual layers in a document. I would like to know how to print a LAYER LIST........Anyone?

    this script will add a text frame with a list of layer names
    var idoc = app.activeDocument;
    var itext = idoc.textFrames.add();
    itext.contents = "";
    var layerCount = idoc.layers.length;
    for (i=0; i<layerCount; i++)
        itext.contents += "Layer " + i  + ": " + idoc.layers[i].name + "\r";

  • HT1719 My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs. Please help!

    My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs (syncs some, but not others). Please help!

    Perhaps this article can help.
    Syncing music to iPod shuffle
    B-rock

  • How do I Find The List Of All The Questions I have Asked?

    Hello:
    I have asked this question once before and someone was able to give me a link to my profile where I quickly found the list of all the questions I have ever asked on the forum.
    I have not been on the forums for many months now and so I was just checking in and once again I cannot find that list of my questions.
    Sure, I am over tired tonight but still ... I would think there would be a .... HERE'S ALL YOUR QUESTIONS YOU EVER ASKED ... button or what have ya
    Can someone kindly point me to where in our Profiles the list of our questions is located?  sure would great appreciate it a bunch.
    Thanks for your time,
    Kara

    Click on your profile to get to https://forums.adobe.com/people/Kar209
    Click on Content to get a list of all your topics: https://forums.adobe.com/people/Kar209/content
    Click on Participated on the left to get anything you've ever posted: https://forums.adobe.com/people/Kar209/content?filterID=participated
    [topic moved to Forum Comments forum]

  • How can i get a list of all the apps i purchased last year?

    i would like to get a summary of all the apps i purchased as well as the prices

    Open App Store and sign in with your Apple ID. Click on the Purchase icon in the toolbar. This will list out all your App Store purchases. It will not list prices, but you can look those up for each purchased application.
    There should also be an account summary. Click on the Account link under Quick Links on the right.

  • Can I get a List of all the running processes in the system using java ?

    I want a complete list of all the Running processes currently in the system.
    List of running processes is like, in MS Window environment while we presses ctrl + alt + del and we get a small window containing a list of all the running processes currently in system.
    I hope somebody have done the same and will help me.
    thanx.

    Here is the sample code to get All running process in your system .
    Its in C++.And you have use JNI to use this code.
    For complete project goto
    http://www.mindcracker.com/mindcracker/c_cafe/winapi/protracker.asp
    typedef BOOL (WINAPI * PFNENUMPROCESSES)(
    DWORD * lpidProcess,
    DWORD cb,
    DWORD * cbNeeded
    typedef BOOL (WINAPI * PFNENUMPROCESSMODULES)(
    HANDLE hProcess,
    HMODULE *lphModule,
    DWORD cb,
    LPDWORD lpcbNeeded
    typedef DWORD (WINAPI * PFNGETMODULEFILENAMEEXA)(
    HANDLE hProcess,
    HMODULE hModule,
    LPSTR lpFilename,
    DWORD nSize
    //unsigned int i;
    static HMODULE hModPSAPI = 0;
    static PFNENUMPROCESSES EnumProcesses = 0;
    static PFNENUMPROCESSMODULES EnumProcessModules = 0;
    static PFNGETMODULEFILENAMEEXA GetModuleFileNameExA = 0;
    if ( !hModPSAPI )
    hModPSAPI = LoadLibrary( "PSAPI.DLL" );
    if ( !hModPSAPI )
    return FALSE ;
    EnumProcesses = (PFNENUMPROCESSES)
    GetProcAddress( hModPSAPI,"EnumProcesses" );
    EnumProcessModules = (PFNENUMPROCESSMODULES)
    GetProcAddress( hModPSAPI, "EnumProcessModules" );
    GetModuleFileNameExA = (PFNGETMODULEFILENAMEEXA)
    GetProcAddress( hModPSAPI, "GetModuleFileNameExA" );
    if ( !EnumProcesses
    || !EnumProcessModules
    || !GetModuleFileNameExA )
    return FALSE;
    LV_ITEM lvi;
    CString str, str1;
    if ( !EnumProcesses( aProcesses, sizeof(aProcesses), &cbNeeded ) )
    return FALSE;
    cProcesses = cbNeeded / sizeof(DWORD);
    char szProcessName[MAX_PATH] = "unknown";
    for ( int i = 0; i < cProcesses; i++ )
    HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION |
    PROCESS_VM_READ, FALSE, aProcesses);
    if ( hProcess )
    HMODULE hMod;
    DWORD cbNeeded;
    if ( EnumProcessModules( hProcess, &hMod, sizeof(hMod), &cbNeeded) )
    GetModuleFileNameExA( hProcess, hMod, szProcessName,
    sizeof(szProcessName) );
    str = szProcessName ;
    str1.Format(": %d ", hProcess );
    str += str1 ;
    m_list.AddString ( str );
    UpdateData(TRUE );
    CloseHandle( hProcess );

  • How to find the list of all the schedules on SAP BW server ?

    Hi.
    I am not familiar with BW  and request some advise.
    We would like to have some information with regard to list of all the jobs / schedules which are running on our BW server.
    With date / time./ daily /weekly/ whatever,
    With start time and end time ... of the schedule.
    Which transaction - will help me to get this information.
    Because we would like to see the entire schedules list and then schedule some jobs on the BW server.
    Can anyone help me on this.
    Thanks in advance.
    Kind regards
    Indu

    Goto t-code SM37
    1)Give job name and user name as *
    2) Select the job status: Scheduled/Released/ready/Active/Finished/Cancelled
    3)Job start condition :Input from Date and To Date (From when you would like to see the jobs)
    4)Now execute, system will display all the jobs accordingly.

  • How to acquire a list of all the iview in a Portal

    Hi ,
    How can I acquire a list of all the iview in a Portal
    with their name, ID and namespace.
    EP6 SP2 Patch 3
    Regards
    Suneel Razdan

    Please close this duplicate thread.  You have posted identical question twice.  If you do not satisfied with the other answer, tell us.
    Thanks,
    Grodon

  • How to get he names of all the local drives that are present in hdd

    Hi ABAP Experts,
    I want to get the names of all the local drives that are present in hdd on local system using
    ABAP. Is this technically possible. If so how.
    Thanks & Regards,
    Aexandr Ciunchik

    Hi Alexandr,
    My workaround.
    REPORT zztest.
    DATA : len          TYPE i,
           off          TYPE i,
           directory    TYPE string,
           result(1).
    len = STRLEN( sy-abcde ).
    DO len TIMES.
      off = sy-index - 1.
      CONCATENATE sy-abcde+off(1) ':' INTO directory.
      CONDENSE directory NO-GAPS.
      CALL METHOD cl_gui_frontend_services=>directory_exist
        EXPORTING
          directory            = directory
        RECEIVING
          result               = result
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          wrong_parameter      = 3
          not_supported_by_gui = 4
          OTHERS               = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF result EQ 'X'.
        WRITE : / 'Drive : ',
                  directory.
      ENDIF.
    ENDDO.
    Regards,
    AS

  • How to get IP Address of all the clients

    Hi,
    I am useing oracle 8i on sun solaris and clients are of windows
    when quering v$session it gives many details
    but does not gives the IP_Address of the clients.
    I had used SYS_CONTEXT('USERENV','IP_ADDRESS') but
    it gives the details of only the current session.
    But I want the IP_Address of all the clients connected and
    shown in v$session.
    Regards
    Arun Tayal

    Hi,
    From column MACHINE in V$SESSION, you can get the I.P. address:
    SQL> select UTL_INADDR.GET_HOST_ADDRESS('localhost') from dual;
    UTL_INADDR.GET_HOST_ADDRESS('LOCALHOST')
    127.0.0.1In this sample I used localhost, but you can use the column. It might require some additional work (to escape windows domains for example - and ensure all the hosts are known to the system via DNS).
    HTH,
    Yoann.

  • Is it possible to export a file from Organizer with the list of all the images in an album?

    Is it possible to export a file from Organizer with a list of all the images in a certain album? In filling one of my albums I did not save my edited images to the same file... they are spread out a bit.... Now I want them to make a book with them (outside of Elements).

    As far as I know, Elements does not have the ability to create lists.
    The solution to your problem of making a book outside of Elements is to place all the desired photos in an Album and then select File->Export->As New Files which gives you the ability to make a copy of every photo in the album in a new folder, from which you would create your photobook.

  • How do I get a list of all the music I have purchased?

    I wish to list all the music I have purchased from the iTunes music store. The Store/Purchased option on the lefthand side of the iTunes screen does not show all my purchased music. So how can I find them?
    HP   Windows XP Pro  

    Posted in error!

Maybe you are looking for

  • Plant wise balance sheet through NEW PCA.

    Dear Sap Experts, We are using sap ecc6.0, we have activated the new gl functionality. Now my client want to get the trail balance plantwise through new PCA. Please tell me how shuld I configure the same. All reply will be awarded with high points. T

  • Adobe Premiere Pro Crashes During Export

    When using Export Media, Premiere crashes about 40-60% through the export process. I've tried messing with the settings for days now, and always the same result. This snapshot is probably the 10th-15th attempt at exporting. Here's what happens: Compu

  • Firefox shows a message to install missing plugin, and then asks for manual installation of apple quicktime, How do i install this plug in?

    I have manually installed Quicktime. I have verified the installation by successfully playing a movie at http://trailers.apple.com/. Still, http://www.merriam-webster.com/audio.php?file=test0001&word=test&text=\%CB%88test\ shows an error message: A p

  • Indesign crashing constantly

    Hi,  I have a 150 page ebook set in indesign CC 2014 that crashes EVERY time I try to move or delete 3 text frames on 3 pages. I have reset the prefs, reinstalled, deleted past versions, you name it. We are meant to publish in a couple of days. HELP!

  • Share option not present

    I understand that one might need to publish a calendar before it can be shared. But when I try to publish the calendar, I get a 402 server error. This is on a Macbook Air 2011 with 10.7.2. Any help appreciated. Lewis