How to list all OID Users

Hello,
I have Oracle OID synchronized with my LDAP directory, i need a pl/sql statement that returns all the users in LDAP directory.
Any Ideas ?
Regards,
Hussam

Hi Paul
                    Well although writing a simple Portal Application is quite a straight forward method of approaching it, but I think you could also retrieve the mapping data using a AppIntegtrator iView.
Please have a look at this thread , where there is a link to Will Carltons paper, which explains on how to do that.
How to access user id and password via UserMapping ?
Give it a shot!
Cheers.
Award points for helpful answers.

Similar Messages

  • Sunone Messaging Server 6.1--How to list all mail user's last login time

    hi,i want to know how to list all the mail user's last login time.
    There are more than 100000 mailbox accounts on our mail server,
    i want to know which account is not used for more than 2 or 3 years.
    thanks.

    http://wikis.sun.com/display/CommSuite/imsconnutil
    Somchai.

  • How to retrieve all the users along with their password from LDAP

    Hello,
    Can anyone let me know how to retrieve and list all the user along with their password from LDAP.
    Thanks

    Hi Prashant,
    I have limited experience with Synchronization, but I agree with you - if you need to synchronize Passwords, you need to have the Password in clear Text.
    If you trying to build your own Synchronization Solution using any of the avaliable LDAP APIs, I don't think you can ever retrieve a user's Password in clear text.
    However, I did come across an interesting article & I hope you find it useful :-
    http://www.oracle.com/technology/obe/obe_as_10g/im/configssl/configssl.htm
    I am not sure if SSL is necessary - If you have a look at Metalink Note 277382.1 ( How to Configure OID External Authentication Plug-In for Authentication Via Microsoft Active Directory (MS AD) ), teh question asked by oidspadi.sh for the same is asnwered as "N".
    Regards,
    Sandeep

  • How to list all files in a given directory?

    How to list all the files in a given directory?

    A possible recursive algorithm for printing all the files in a directory and its subdirectories is:
    Print the name of the directory
    for each file in the directory:
    if the file is a directory:
    Print its contents recursively
    else
    Print the name of the file.
    Directory "games"
    blackbox
    Directory "CardGames"
    cribbage
    euchre
    tetris
    The Solution
    This program lists the contents of a directory specified by
    the user. The contents of subdirectories are also listed,
    up to any level of nesting. Indentation is used to show
    the level of nesting.
    The user is asked to type in a directory name.
    If the name entered by the user is not a directory, a
    message is printed and the program ends.
    import java.io.*;
    public class RecursiveDirectoryList {
    public static void main(String[] args) {
    String directoryName; // Directory name entered by the user.
    File directory; // File object referring to the directory.
    TextIO.put("Enter a directory name: ");
    directoryName = TextIO.getln().trim();
    directory = new File(directoryName);
    if (directory.isDirectory() == false) {
    // Program needs a directory name. Print an error message.
    if (directory.exists() == false)
    TextIO.putln("There is no such directory!");
    else
    TextIO.putln("That file is not a directory.");
    else {
    // List the contents of directory, with no indentation
    // at the top level.
    listContents( directory, "" );
    } // end main()
    static void listContents(File dir, String indent) {
    // A recursive subroutine that lists the contents of
    // the directory dir, including the contents of its
    // subdirectories to any level of nesting. It is assumed
    // that dir is in fact a directory. The indent parameter
    // is a string of blanks that is prepended to each item in
    // the listing. It grows in length with each increase in
    // the level of directory nesting.
    String[] files; // List of names of files in the directory.
    TextIO.putln(indent + "Directory \"" + dir.getName() + "\":");
    indent += " "; // Increase the indentation for listing the contents.
    files = dir.list();
    for (int i = 0; i < files.length; i++) {
    // If the file is a directory, list its contents
    // recursively. Otherwise, just print its name.
    File f = new File(dir, files);
    if (f.isDirectory())
    listContents(f, indent);
    else
    TextIO.putln(indent + files[i]);
    } // end listContents()
    } // end class RecursiveDirectoryList
    Cheers,
    Kosh!

  • How to view all the users existing in a Client

    Hi
    Can any one help me, How to view all the users existing in a Client (Other than SM04 and AL08).
    I want to view not only the active users, but all existing users.
    Thanks in Advance
    Chandra

    Hi,
    Check table devaccess. to get all developers list
    Reward points if helpful.
    Regards,
    Mukul
    Edited by: Mukul Sharma on Jun 2, 2008 12:10 PM

  • How to list all properties in the default Toolkit

    I would like to know what kinds of properties are stored in the default Toolkit (Toolkit.getDefaultToolkit()). I don't know how to list all of them. Toolkit class has a method getProperty(String key, String defaultValue), but without knowing a list of valid keys, this method is useless.
    Any idea would be appreciated.

    Here is a little utility that I wrote to display all the UIDefaults that are returned from UIManager.getDefaults(). Perhaps this is what you are looking for?
    import javax.swing.*;
    import java.util.*;
    public class DefaultsTable extends JTable {
        public static void main(String args[]) {
            JTable t = new DefaultsTable();
        public DefaultsTable() {
            super();
            setModel(new MyTableModel());
            JFrame jf = new JFrame("UI Defaults");
            jf.addWindowListener(new WindowCloser());
            jf.getContentPane().add(new JScrollPane(this));
            jf.pack();
            jf.show();
        class MyTableModel extends javax.swing.table.AbstractTableModel {
            UIDefaults uid;
            Vector keys;
            public MyTableModel() {
                uid = UIManager.getDefaults();
                keys = new Vector();
                for (Enumeration e=uid.keys() ; e.hasMoreElements(); ) {
                    Object o = e.nextElement();
                    if (o instanceof String) {
                        keys.add(o);
                Collections.sort(keys);
            public int getRowCount() {
                return keys.size();
            public int getColumnCount() {
                return 2;
            public String getColumnName(int column) {
                if (column == 0) {
                    return "KEY";
                } else {
                    return "VALUE";
            public Object getValueAt(int row, int column) {
                Object key = keys.get(row);
                if (column == 0) {
                    return key;
                } else {
                    return uid.get(key);
        class WindowCloser extends java.awt.event.WindowAdapter {
            public void windowClosing(java.awt.event.WindowEvent we) {
                System.exit(0);
    }

  • How to list all the rows from the table VBAK

    Friends ,
    How to list all the rows from the table VBAK.select query and the output list is appreciated.

    Hi,
    IF you want to select all the rows for VBAK-
    Write-
    Data:itab type table of VBAK,
           wa like line of itab.
    SELECT * FROM VBAK into table itab.
    Itab is the internal table with type VBAK.
    Loop at itab into wa.
    Write: wa-field1,
    endloop.

  • Urgent: How to list all alias for a server throw DNS query?

    Hi
    Is there anyone know how to list all alias for a server by asking the network DNS. Is that possible?
    It doesn't work with InetAddress it return a single result.
    Best regard

    InetAddress will not get you the aliases, but you can certainly find all the different IP addresses for a specific host name using the getAllByName() method.
    You won't be able to get the aliases since those IP addresses (assuming there are more than 1) will all be cached as mapping to the name you passed to the getAllByName() method and you can't clear the map cache until the JVM exits.
    So your best hope is to get a list of IP's and either exit your app and restart with a new mode, or save them to a file for another app to read.

  • Can we list all the users or groups with there rights on the universe\s

    Can we list all the users or groups with there rights on the universe\s using query builder.
    Can we do the same by using auditor reports.
    PLZ  help

    Thanks ,
    It can be acihived by using secuirty viewer.
    Thanks again

  • How to list all users present in Default Autheticator  in WebLogic Security Realm

    Hi All,
    I need to get a list of all the users in my Weblogic server--> security realm--> Default Authenticator
    There are more than 1000 users present in my security realm for different different Authentication Providers. So I can not get these details from WebLogic Admin Console.
    Can anyone please help me in getting this list of all users in Default Authenticator? Please let me know how can I get these details.
    My WebLogic version is 10.3.4.0
    Thanks in Advance!

    You can use JMX to list users
    http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/

  • How to list all user's "followed" count?

    Dear all,
    I need to genearate a report to list all user's Followed items count.
    I found follow REST API:
    http://msdn.microsoft.com/en-us/library/dn194080.aspx#bk_FollowedCount
    By using "My/followedcount", I can get current user's count of items he or she followed. It is exactly what I need. But I need to list all users' "following count". How can I do it?
    Thank you for any input.
    Mark

    Hi Mark Lui,
    Please check the code sample in below article, whether it is working in your scenario, it is using the client object model to get the specified user’s followed content, to get all users’ following content, please first iterate users information, then use
    this to get followed count:
    How to get Count and List of documents and sites followed by a User in Office 365 SharePoint 2013 Site using CSOM:
    http://sundarnarasiman.net/?p=186
    Thanks,
    Qiao Wei
    TechNet Community Support

  • How to list all available tables for user "karl"

    How can I list all available tables (=table names) for user "karl"?
    Nice to have would be if (after each table name in another column of each row) the number of data rows in this table can be listed similar to:
    TABLE NUM ROWS
    TESTA 12
    TESTB 3455
    ANOTHERTAB 234
    How can I do this?

    from Laurent Schneider
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables;
    TABLE_NAME                      COUNT
    DEPT                                4
    EMP                                14
    BONUS                               0
    SALGRADE                            5

  • How to list all calendars that are shared to a specific user?

    Hi,
    Using Exchange Management Shell/Powershell, I want to list all calendars that are shared to a specific user 'myuser'. 
    I have tried different approaches; list all calendars for all users and then figure out which ones are shared to 'myuser', list all mailboxfolders for 'myuser' with path 'calendar' and sort out the shared ones, ... No luck so far.
    Anybody?
    babu

    Hi
    If you try this command:
    Get-MailboxPermission MyUser

  • How to list all logged in users in Weblogic?

    Dear All,
    I want to list all the logged in users in weblogic since we have assigned each user a separate login.
    Right now, weblogic console shows if any user is making any changes. However, I want to list all users logged in even if they are in idle state.
    I have also looked in domainRuntime location using WLST but couldn't find any info.
    Please suggest.
    Thanks,
    Karan

    Hi,
    can you try with this JMX code.
    import javax.naming.*;
    import javax.management.MBeanInfo;
    import weblogic.jndi.Environment;
    import weblogic.management.runtime.ServerRuntimeMBean;
    import weblogic.security.providers.authentication.DefaultAuthenticatorMBean;
    import weblogic.management.security.authentication.UserReaderMBean;
    import weblogic.management.security.authentication.GroupReaderMBean;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicMBean;
    import weblogic.management.tools.Info;
    import weblogic.management.Helper;
    import weblogic.management.security.authentication.*;
    public class ListUsersAndGroups
    public static void main(String[] args)
    MBeanHome home = null;
    try
    Environment env = new Environment();
    env.setProviderUrl(“t3://localhost:7001?);
    env.setSecurityPrincipal(“weblogic”);
    env.setSecurityCredentials(“weblogic”);
    Context ctx = env.getInitialContext();
    home = (MBeanHome)ctx.lookup(“weblogic.management.adminhome”);
    weblogic.management.security.RealmMBean rmBean = home.getActiveDomain().getSecurityConfiguration().getDefaultRealm();
    AuthenticationProviderMBean[] authenticationBeans = rmBean.getAuthenticationProviders();
    DefaultAuthenticatorMBean defaultAuthenticationMBean = (DefaultAuthenticatorMBean)authenticationBeans[0];
    UserReaderMBean userReaderMBean = (UserReaderMBean)defaultAuthenticationMBean;
    GroupReaderMBean groupReaderMBean = (GroupReaderMBean)defaultAuthenticationMBean;
    String userCurName = userReaderMBean.listUsers(“*”, 100);
    while (userReaderMBean.haveCurrent(userCurName) )
    String user = userReaderMBean.getCurrentName(userCurName);
    System.out.println(“\n User: ” + user);
    userReaderMBean.advance(userCurName);
    String cursorName = groupReaderMBean.listGroups(“*”, 100);
    while (groupReaderMBean.haveCurrent(cursorName) )
    String group = groupReaderMBean.getCurrentName(cursorName);
    System.out.println(“\n Group: ” + group);
    groupReaderMBean.advance(cursorName);
    catch (Exception e)
    e.printStackTrace();
    Regards,
    Kal

  • How to list all trusted certificates that I selected to trust from email recipients

    Hi,
    I'm happy Mac user for not very long, and recently I have bought iPhone 4S, and I'm very happy with it (except the battery life, but this is another question )
    When I'm sending mail I like to use certificates in order to sign and encrypt messages with my friend and colleagues. I use this this feature on my Macs and it works great.
    I've purchased iPhone, and decided to use this nice feature here as well, and must to say, it also works great. On both (Mac OS X and iOS) you have to install your certificate first, then  you can send signed emails. The only difference between Mac OS and iOS regarding this is that if I want to send encrypted messages to my recipients in Mac OS you have just to receive signed e-mail, but in iOS additionally I have to install their certificates manually (receive signed e-mail->tap on sender in Mail->select View certificate->Install certificate). That is additional task, but not too annoying.
    Now the question: how can I list all my certificates that I have chosen to trust (i.e. installed certificates)? In Mac OS X I can open Keychain and find all certificates there, but in iPhone I cannot. Even more - if I installed a certificate for the person that is in my contacts, I can view and/or remove certificate only by selecting the e-mail message (not contact from my address book - there is nothing about certificates associated to contact).
    Thanks in advance!
    BR,
    Justas
    Make mail safer! Install certificate - it's free!

    Start by defining "display". Then continue by reading this:
    http://forum.java.sun.com/help.jspa?sec=formatting

Maybe you are looking for