Query to get which user assign to what group in OID

Hi All,
Can you please help me out to get the details of users assigned to which groups in OID.
I required sql query for the same.
Please suggest for such query.
Thanks-
P

You will use LDAP queries, not SQL.  You can query the objectclass of the group and the attribute with the multi value entry for the user.  Example:
(&(objectclass=groupofuniquenames)(memberof=*)) ->  This will show you all groups that have members.
(&(objectclass=groupofuniquenames)(memberof=cn=Joe Schmoe,cn=Users,dc=location,dc=com))  ->  Will show you all the memberships a specific user has.
-Kevin

Similar Messages

  • SQL query to know which users are working on which forms in APPS R12

    Dear gurus
    We need the SQL query to know which users are working on which forms in APPS R12, and how to get the user.name of those records.
    thanks in advance
    best regards

    Hi,
    Please see this thread.
    USERS CONNECTED
    Re: USERS CONNECTED
    Regards,
    Hussein

  • Query to get all ports assigned and used by EBS instance.

    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    Milan

    MILAN RATHOD wrote:
    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    MilanIn addition to the thread referenced above by Helios, please check the context files and (Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1] -- F. List of Ports to Open in a DMZ Configuration).
    Thanks,
    Hussein

  • Query to get  Forms User Session

    Can any one suggest what is the SQL query to get the detail of the user session(Forms) in 10G Application Server Rel 2?

    How EM takes the IP address of user in the user_session of forms?
    Is there any table that it takes from?
    Thanx

  • Query to get the user profile

    Hello
    I would like to know the query to get the complete user profile, for example the user password, all the privileges it has, etc
    Thank you

    Go to tahiti.oracle.com
    Drill down to your selected product and version
    There, find the complete documentation set
    There, find the find Reference Manual
    There, find a complete description of all the data dictionary view.
    Browse through the names of those view for something that looks like a likely candidate (thing with "user" or "priv" in the name)
    Edited by: EdStevens on Oct 23, 2009 8:20 PM

  • Query to get the User who updated BP Catalog No. for an Item.

    Hi experts,
    I am trying to get the user id who updated BP Catalog No. for an Item. BPCatalog Number details are available in OSCN table. There is no BPCatalog No. field available in ItemMaster OITM, or in ItemHistory AITM. Also, I searched for history table of OSCN. I could not find it.
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi,
    Thanks for your quick response and reply.
    Regards,
    Parvatha Solai

  • How to find out the values which are assigned in authority group

    Hi to all
    Please tell me where can I find out the values which are assigned in authority object according to roles.
    for ex :
             Changed    Customer: Account Authorization                              F_KNA1_BED
              Changed    Customer: Account Authorization                              T-DR50175601
                Activity                       01, 02, 03, 08                                                              ACTVT
                Authorization Group            5100                                                                        BRGRU
    F_KNA1_BED is the authority object , assigned to one user.
    He can access the authorization group 5100. I want to check that value in my program.
    How ?
    Where it is stored.
    Please help me....
    Regards
    Anubhav Gupta

    Hi Anubhav,
    Please use this FM "SUSR_USER_AUTH_FOR_OBJ_GET" and pass the object name in it . You would get the values for that particular object.
    Thanks
    Nitin Sachdeva

  • Getting current user's  member of group

    Hi expert(s),
    I have developed web application using jsp, now i need to know whether the current user logged in at client PC, is member of certain group available in the database, i can get current user using System.getProperty(), but i have to get the list of groups, he/she belongs to. So that i can check his group to authenticate...
    What is the workaround?
    Waiting for your kind reply.
    Thanks & Regards,
    Sri.

    Experts, i give you .net code for done my need, i need to convert/use it in java platform, please give me some useful tips.
    If G_sSecurityMode = "ADSL" Then
                    GUser = System.Environment.UserName
                    ReDim sGroup(6)
                    'Default NT user groups which will be created at every system during installation
                    sGroup(0) = "CPMSDOMAINADMIN"
                    sGroup(1) = "CPMSCLIENTADMIN"
                    sGroup(2) = "CPMSDATAPREPADMIN"
                    sGroup(3) = "CPMSDATAPREPUSER"
                    sGroup(4) = "CPMSINVENTORYADMIN"
                    sGroup(5) = "CPMSINVENTORYUSER"
                    G_sUserGroup = " "  'Global variable defined in GLbdecleration module
                    'Loop defined to identify  the group(s) associated with the current NT user
                    For i = 0 To 5
                        objGroup = GetObject("WinNT://" & sMachine _
                         & "/" & sGroup(i) & ",group")
                        For Each objUser In objGroup.Members
                            If UCase(GUser) = UCase(objUser.Name) Then
                                G_sUserGroup += "'" + sGroup(i) + "'" + ","
                            End If
                        Next
                    Next
                    G_sUserGroup = G_sUserGroup.TrimEnd(",") 'To truncate the last "," in a g_susergroup string
                    If Len(Trim(G_sUserGroup)) = 0 Then
                        MsgBox("No group(s) defined for the user " + GUser, MsgBoxStyle.Information)
                        Me.Close()
                    End If
                Else
                    MsgBox("Invalid Security Definition", MsgBoxStyle.Information)
                    Me.Close()
                End If

  • Self-registration user assigned to anonymous group auto

    hi experts,
    how can i make the user self-registration user belong to anonymous group,not everyone group
    best regards
    zlf

    Normally self  registered users automatically assigned to everyone group. If client needs they should automatically assign to someother group , it is the only possibility in my point.
    Ulitimately when modifying standard groups, this consultant should think about it whether modification really needed ?
    It is just an idea
    Koti Reddy
    Edited by: Koti Reddy Chimalamarri on Feb 8, 2009 12:03 PM

  • No user assigned to virtual group ....

    Hi experts,
    I am configuring UME to create virtual groups in Portal:
         ume.virtual_groups.user_attribute=department
         ume.vitrual_groups.user_attribute.namespace=com.sap.security.core
         ume.virtual_groups.names=Marketing;Production;Distribution
         ume.virtual_groups.name_prefix=VG_
    And virtual groups can be found in the useradmin application. But no users are assigned to virtual groups, although there are users with the attributes department = Marketing or Production or Distribution in the portal.
    where is mistake?
    Best regards,
    Andrei

    problem solved.
    in SAP Note 1372126 encountered a new value for namespace, different from help.sap.com (http://help.sap.com/saphelp_nw70/helpdata/en/43/fcfa2942ed7067e10000000a1553f6/content.htm).
    after changing the namespace, the problem resolved
    ume.virtual_groups.user_attribute.namespace = com.sap.security.core.usermanagement
    Best regards,
    Andrei
    Edited by: Andrei Liashkevich on Oct 13, 2009 4:00 PM

  • Ldap query to get the users of a OU

    Hi,
    I want to get the available users into a OU and the query I'm using is like this:
    (OU=Departamento Informatica,DC=mydomain,DC=com)
    There is a user into this OU so when I do the LDAP test query the user shuld be returned but the result is 0.
    Can anybody help me or tell me which must be the correct query?
    Thanks in advance.
    Regards.

    This can be done either by dsquery or Powershell commands (Like
    Get-ADUser).
    For dsquery, I would recommend that you refer to this Wiki article initiated by Richard for more details about LDAP filtering: 
    http://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters-en-us.aspx
    dsquery * "OU=TargetOU,DC=CONTOSO,DC=COM" -filter "(&(objectcategory=person)(objectclass=user))"
    For Get-ADUser, all you need is to specify your OU as the search base:
    Get-ADUser -SearchBase "OU=TargetOU,DC=CONTOSO,DC=COM" -Filter *
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Write a query to get the users those are not appliyed for the exam?

    hi frz i have two tables like User,UserHistory
    User table contains clmns--Uid,Uname
    UserHistory contain columns--Uid,Course,Status.
    so i want to write a query to find out those are not applied for the particlur course i want to found only those records from the two tables...

    Hello,
    The SQL Server forums are over here:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Query to display the user's and their group's

    Hi ---Is there a way to list the user and the roles that were assigned to them by running a query on the Data base? also can we configure development obiee environment to use prod security so that if removed from prod, will also be removed form dev?

    user007009 wrote:
    Hi ---- my bad. version is 11g and currently not using WLS LDAP but through LDAP server(AD) configured in Web logic console.
    Also regarding not possible if using WLS Ldap.
    Where does these user data gets saved then?? xml?,database table?, ff?.. or was it mentioned in the oracle documentation that we can't get the info??..please throw some light..
    any idea on what actually is the source for the page security>realms>users and groups? ... they might be saving it some where and i am having hard time finding it in the Oracle Documentation as well.I suggest you read this : http://docs.oracle.com/cd/E23943_01/core.1111/e10043/introroles.htm
    And https://blogs.oracle.com/robreynolds/entry/security_in_obiee_11g_part_1 to know more about Security. The default users would be in identity store.
    If you want to get the list of WLS users and WLS groups then have a look at : http://mverzijl.wordpress.com/2012/08/23/weblogic-wlst-get-users-and-groups/
    Coming to your original questions .. To get the list of AD users and AD groups not Roles two different things, may be you can try
    http://social.technet.microsoft.com/wiki/contents/articles/2195.active-directory-dsquery-commands.aspx or use some LDAP browser .
    SVS

  • Query to get users using a Form

    Hi All
    I would like to build a query to get all users who is having access to a form. I could get the cases
    where there is no submenus. But how can I handles cases were submenus also there. Please help. I have checked
    the other posts in this forum. But none is giving a possibility of giving single query for this.
    Kindly help.
    Version 12.1.3
    Thanks,

    I guess my question was confusing.
    I build a query like this to getthe information, but it will work only if the function is attached directly to the main menu. It will not work incase of submentus.
    SELECT distinct usr.user_name FROM
    FND_FORM_VL form,
    FND_FORM_FUNCTIONS_VL func,
    FND_MENU_ENTRIES_VL menu_l,
    FND_MENUS_VL menu_h,
    FND_RESPONSIBILITY_VL resp,
    FND_USER_RESP_GROUPS_DIRECT usr_resp,
    FND_USER usr
    WHERE func.form_id = form.form_id
    AND menu_l.FUNCTION_ID = func.FUNCTION_ID
    and menu_h.MENU_ID = menu_l.menu_id
    and form.form_name = :FORM_NAME
    and resp.MENU_ID = menu_h.menu_id
    and usr_resp.responsibility_id = resp.responsibility_id
    and usr.user_id = usr_resp.user_id ;

  • Query Differentiation based on User Designation

    UR,
    Interesting situation ... I am just guessing here but I guess this must be possible...
    For creating queries in production - create two roles ...
    X Query creation - use RS_COMP and give create / modify for queries X*
    create one similar for Y*
    Assign both roles to your super users and X* for your power users ..?
    I am not sure if I have got the component right but there is a component that can be used to control query access by X* or Y*...

    Hello Eric,
    The first argument is a Unique Group Id, you can find it in User Administration->Roles->Navigate to the role->Edit->copy the content of "Unique ID" field.
    The second argument is <b>true</b> if you what to search recursively, means if the user assigned to a group.
    Best Regards,
    Dmtiry

Maybe you are looking for

  • Movement Type 511 when  stock in the Inventory is nil

    Hello Sir / Madam  , I have some queries regarding 511 Movement type : Free-of-charge delivery from vendor. When this movement type is posted it updates the Stock (MARD-LABST) as well as the Valuation Table (MBEW-LBKUM). (Unrestricted movement) But t

  • My mail app will not open up, at first firefox would not open now mail

    my mac is realy acting slow....mail will not open...software is OS x lion 10.7.4   on my imac 20 inch mid 2007   will the new mountain lion solve any problems or only make for more.  should I turn my mac off each night  it runs all the time

  • Generating ITS templates for RF screens

    Hi, I'm trying to access the standard RF transactions via ITS.  Do I have to generate the templates for all the RF screens or should they already available on the system? If yes, what screens do I need to generate to get this working? Regards, Carlos

  • Lost Bridge Browser

    Hi, After updating my PB to OS2 and Curve 9360 to Blackberry Bridge to 2 I can no longer see the PB bridge browser in my PB.  Any ideas how to get it back?  Curve was updated first. Thanks, Art Solved! Go to Solution.

  • Automator iCal backup workflow no longer works

    Hi all, I am new to automator workflows, but I recently created one to back up all of my documents to an SD Flash card in my Macbook Pro.  The workflow was working good for about a week, and now it It keeps saying that the workflow does not have perm