Programtically how to read groups for given role

Hi,
I have scenario like this.
1. Create a group called "officeAdmin"
2. Create a group called "users" under group "officeAdmin"
3. Create a user called "companyadministrator" under "everyone" tree structure
of admin portal
4. create delegated administrator role called "companyrole" for a user "companyadministrator"
5. assign "companyrole" to group "officeAdmin".
so user "companyadministrator" will be administrator for "officeadmin" group
and its child.
Now my requirements is when "companyadministrator" login i should get only groups
which he can administer i.e in this case i should get only "officeadmin" and "users"
groups.
Please help me how i should programatically get the groups "officeadmin" and "users"
when "companyadministrator" logs in.
test the scenaio : create the above scenario using admin portal and then login
as "companyAdministrator" and you can see only "officeAdmin" and its child groups.
thanks,
shashi

I found this to be true as well. We solved the problem by populating a session variable "GROUP" then initilizing the values at login, which requires you to connect to LDAP everytime a session is created. If you are assisgning privs to the groups they need to be manually created in the repository so that the priv/Subject Area assignments can be made. Venkat BLOG'd about this at http://oraclebizint.wordpress.com/2007/10/10/oracle-bi-ee-101332-using-ldapoid-authentication/

Similar Messages

  • How to insert entities for a role and retrofit single trigger from DB

    Hi,
    before Oracle Designer replacement I would like to clarify these 2 issues:
    - how to insert entities for a role?
    - how to retrofit just a single trigger from database?
    Could somebody give a step by step advice, how to do these 2 things? Thanks!

    > um.. i don't think you could use 'create table'
    inside a pl/sql procedure.
    You are wrong. You can create table inside a PL/SQL using execute immediate. But, this is not a good practise. I think you should reconsider the logic and then use such programming code. Please read the Oracle documentation regarding execute immediate.
    Regards.
    Satyaki De.

  • Account groups for Partner Roles in Vendor Master

    1. Can we use same account group to create the vendor master for the different partner roles? for the partner roles like goods supplier, invoicing party, order party, etc do all these need to have different account groups , example one account group for goods supplier, one account group for invoicing party, etc , etc.
    2. why we need the configuration for partner role in purchasing documents besides  partner role settings for vendor account group. what is the logic behind to have partner role dependent settings for purchasing documents.
    If we do not maintain for partner role settings for purchasing documents  what effects it will cause?

    > 1. We can have 1 account group represent all partner role or separate account group for each role.
    1.If we use the same account group, the field selection control for fields will be applicable to partner roles also. If we have made vendor schema as mandatory in vendor master than we have to assign to partner vendor also. Example ordering address will not require company code data only purchase data, it will not require also pricing procedure as mandatory as no price determination will be required for ordering address.
    I think we have to use combination of account group -same account group and different account group will defining vendors for partner function.
    Do we require to assign vendor schema group to following vendors roles- goods suppliers, invoicing party and payee.
    If we do not assign vendor schema group will these partner role determine price from the VN partner role. For example VN (vendor) has vendor schema group assigned, no vendor schema group assigned to invoicing party, then while doing MIRO the invoicing party will be defaulted. Do the price determined for VN role will be populated for invoicing party in MIRO?
    > 2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document
    It means we need to assign similar roles in schema for vendor account group and purchasing documents. If you see the schema in config for partner determination in IDES system, different roles exists in vendor schema and purchasing document schema.
    This is creating confusion for me to understand.
    Please clarify
    2. we need partner role in purchasing doc because we can copy partner role from vendor master to purchasing document

  • How to read Group ID from Value Mapping Context in Cache Monitoring ?

    Hi friends,
        In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
        Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU....  For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code)  which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
        So, in essence, how to read the GUID from value mapping context.
        Friends, Kindly help me to do this.
    Thanks in advance.
    Jegatheeswaran P.

    Did you get the way to read group id?

  • How many disk groups for +DATA?

    Hi All,
    Does oracle recommends having one big/shared asm disk group for all of the databases?
    In our case we going to have 11.2 and 10g rac running against 11.2 ask...
    Am I correct in saying that I have to set asm’s compatibility parameter to 10 in order to be able to use the same disk?
    Is this is a good idea? Or should i create another disk group for the 10g db’s?
    I’m assuming there are feature that will not be available when the compatibility is reduced to 10g...

    Oviwan wrote:
    what kind of storage system do you have? nas? what is your protocol between server and storage? tcp/ip (=>nfs)? fc?....
    if you have a storage with serveral disks then you create mostly more than one lun (raid 0, 1, 5 or whatever). if the requirement is, that you need a 1 TB diskgroup, then I would not create 1 1TB lun, I would create 5x200GB lun's for example, just for the case that you have to extend the diskgroup with a same lun size. if its 1 TB then you have to add another 1TB lun, if there are 5x200GB luns then you can simply add 200GB.
    I have nowhere found a document that says: if you have exactly 16 lun's for a diskgroup it's best. it depends on os, storage, etc...
    so if you create a 50gb diskgroup I would create just one 50gb lun for example.
    hthyes its NAS, connectd using Iscsi. it has 5 disks 1TB each and configued with RAID5. I found below requirments on asm ... it indicates 4luns as minimum per diskgroup, but it doesnt clearify whether its for external redundancy or as mredundancy types.
    •A minimum of four LUNs (Oracle ASM disks) of equal size and performance is recommended for each disk group.
    •Ensure that all Oracle ASM disks in a disk group have similar storage performance and availability characteristics. In storage configurations with mixed speed drives, such as 10K and 15K RPM, I/O performance is constrained by the slowest speed drive.
    •Oracle ASM data distribution policy is capacity-based. Ensure that Oracle ASM disks in a disk group have the same capacity to maintain balance.
    •Maximize the number of disks in a disk group for maximum data distribution and higher I/O bandwidth.
    •Create LUNs using the outside half of disk drives for higher performance. If possible, use small disks with the highest RPM.
    •Create large LUNs to reduce LUN management overhead.
    •Minimize I/O contention between ASM disks and other applications by dedicating disks to ASM disk groups for those disks that are not shared with other applications.
    •Choose a hardware RAID stripe size that is a power of 2 and less than or equal to the size of the ASM allocation unit.
    •Avoid using a Logical Volume Manager (LVM) because an LVM would be redundant. However, there are situations where certain multipathing or third party cluster solutions require an LVM. In these situations, use the LVM to represent a single LUN without striping or mirroring to minimize the performance impact.
    •For Linux, when possible, use the Oracle ASMLIB feature to address device naming and permission persistency.
    ASMLIB provides an alternative interface for the ASM-enabled kernel to discover and access block devices. ASMLIB provides storage and operating system vendors the opportunity to supply extended storage-related features. These features provide benefits such as improved performance and greater data integrity.
    one more question about fdisk partitioning. is it correct that we should only create one partition per luns (5x200Gb luns in my case) is it because this way i will have more consistent set of luns( in term of performance)?

  • How system read transaction for movement type

    Dear friends,
    We are facing problem - in case of movement type 101 system is reading PRD transcation key for valaue of inventory with another transaction key WRX.  I dont know the logic how system read transction key.
    If I use 101 movemment type then how system reads transcation key ie. GBB, PRD etc..... I need to know that logic . Please let me know and give me transction code to same I can check for other movement types.
    Thanks
    ravi

    Tcode OBYC is where all these transactions keys and all the G/ls are assigned to them.
    There are normal accounting entries at time of GR i.e.
    Material - Debit
    GR/IR - Credit
    AT  IR:
    Vendor - Credit
    GR/IR - Debit
    Now on above entries, system looks for transaction key for material and post its entry and then key for Gr/IR and posts the credit
    entry in case of GR and vice versa for IR.
    Please check these answered links for further details:
    obyc
    OBYC
    OBYC
    OBYC transaction?
    Edited by: Afshad Irani on Apr 20, 2010 4:04 PM
    Edited by: Afshad Irani on Apr 20, 2010 4:05 PM

  • How Create a group for email

    I would like to how to create a group for email.

    You cannot create a group in the built in mail app. You need a third party mail app to do that. I have never used either app, but both of theses will fulfill that function.
    MailShot
    https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email!
    https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8

  • How to read group id using contact id

    Hello all,
    I am doing coding in cocoa touch.In which i add contacts using coding.In which i add and read group.Now i want to know the group using contact id which i enter in group.
    Thank you..

    Did you get the way to read group id?

  • Default "Reader" group for new Project Site to include AD group automatically

    I'd like to add "Domain Users" to the readers group for all new Project Sites, as well as the "PMO" AD group to the Owners group for each site automatically as the site is created.
    Is there a way in Project Server 2013 to do that via config?  I'm able to write it programmatically, but don't want to do that if there's an easier way.  We simply don't have time to push that code through right now.
    Thanks,
    Bill Richardson

    I think the only option is to do this programmatically via a custom Project Server event handler. You would probably want it to fire on the Project published events and may the WSS created event.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to read ssas cube and role from Excel vba

    Hi,
    I want to read all roles and cubes in SSAS Db from Excel Vba.
    1. First i want to read all the roles which was assigned to me
    2. based on the role, i have to read all cube name
    Please help me to
    accomplish this task.

    Hi Jack,
    In Analysis Services, Each role contains members, by Windows username or by Windows group, and permissions (read, process, administrator). If the user has the permission to access SSAS database, then the account was contained in one or more roles. When connect
    to SSAS database, we need to use an account to log on it, and SSAS will list all the cubes' name based on the role automatically.
    Reference
    Using Excel to interact with a SSAS cube
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to read char() for bit data DB2's type in Oracle?

    Hello,
    I am developing an application (from JDeveloper) to operate with two data base. In one hand threre is Oracle and in the other one DB2 (AS400).
    I am trying to read a DB2'sfield with the "char() for bit data" type from Oracle, but I can't read it.
    I have trying:
    rset.getObject(1) -->[B@1a786c3
    rset.getBinaryStream(1) --> java.io.ByteArrayInputStream@1a786c3
    rset.getAsciiStream(1) --> java.io.ByteArrayInputStream@2bb514
    rset.getCharacterStream(1) -->java.io.StringReader@1a786c3
    Do you have any solution to see the value of this type of field?
    Thank you and regards

    I have to synchronize unidirectionally from the Oracle database to DB2. And I'd like to save the information of the record of DB2 prior to the update operation.
    And here is where the problem arises for me, because when I try to read from Java with the connection established on DB2 is unable to interpret the information. While there are no problems from Oracle to consume the information, it happens that DB2 field types are not common with Oracle, such as char () for bit data. From what I could find the equivalent in Oracle would be raw (), but since Java is possible to read this type of information... And this is my doubt, it is necessary to do any type of cast or to do a special view to retrieve this information?

  • How to read channel for channel and appended data for appended data?

    Good day,
    I wrote a little program that saves blocks of data after a trigger to a
    file, it will append these blocks off data as much times as you set it.
    Each appended data block has a time stamp and a signal path and burst
    number as a header.
    I use the storage way to save it to TDM format. This all seems to work nicelly.
    Now is my question:
    Afterwards i want to read each block or burst seperatelly. How can I do
    this. I can't seem to find an easy way to read just one data block in
    the file.
    best regards
    Joost van Heijenoort
    Ursa Minor Space and Navigation

    allready found out that I have to save it in unique channel names...
    this helps..
    best regards
    Joost

  • How to Avoid Grouping for some conditions?

    Hi,
    I am facing a problem in Sales_commission Report. In this report I am grouping data Based upon first by
    salesman and then by customer. And also some sorting conditions. I designed all grouping by using report wizard.
    The problem is: If sort_by Parameter =customer then only need to group data based customer.
    Else ie if sort_by= 'order_no' or 'Inv_no' then no need of grouping the data by customer. Display data
    as per sorting condition.
    Is there any solution for this problem?

    Hi,
    I am facing a problem in Sales_commission Report. In this report I am grouping data Based upon first by
    salesman and then by customer. And also some sorting conditions. I designed all grouping by using report wizard.
    The problem is: If sort_by Parameter =customer then only need to group data based customer.
    Else ie if sort_by= 'order_no' or 'Inv_no' then no need of grouping the data by customer. Display data
    as per sorting condition.
    Is there any solution for this problem?There is no way to remove the grouping based on customer, so sorting based on customer will be retained.
    Way to hide the customer group fields in the customer repeating frame is by using format triggers based on sort_by_parameter,
    and place the customer fields in the last group repeating frame also and show or hide this fields depending on sort_by_parameter.
    Hope this helps.
    Best Regards
    Arif Khadas

  • How to read raws for  sony  ILCE 7M2

    i can not see the raws of sony nex 7 II  in lightroom 5.7

    How do i upgrade to 5.7.1 I can not find the upgrade
    Vivian Bibliowicz
    [email protected]
    52075554
    55 50683524

  • How to create global groups for end users

    Just started deployment of Lync 2013.  We do not host our exchange / mail internally.  It is a hosted solution (not exchange).  We do use outlook though.
    It has been a long time since I set up Lync (Since OCS 2007 / 2007 R2)
    Can someone please tell me how to create groups for all users on the Lync Client and populate them from groups in AD.Right now we are using Spark and we have decided to use Lync.  In Spark it queries AD every day and populates the groups from AD
    groups that we have defined.
    I know that users can create there own groups, but we prefer to have every client have every group (department) and those in department listed below rather than them have to manually add them individually.
    Thanks for your direction.
    John

    Hello john,
    Lync Client can't use AD group or Exchange mail group. You can't create Lync client group with AD GPO. each Lync user can create their own group in Lync client and of course can delete.
    You can not manage Lync client within the
    group as the centeral. There is no such
    feature in Lync. you can examine 3rd party applications. for example ;
    http://www.vytru.com/contacts-manager-for-microsoft-lync.html
    Regards
    Zulfikar CAGLAR
    The statement is incorrect. You CAN use Distribution Groups from Active Directory in Lync Client:
    http://support.sherweb.com/Faqs/Show/how-to-add-contacts-from-distribution-lists-in-lync-2013
    Please “Vote As Helpful” and/or “Mark As Answer” if this post helped you.

Maybe you are looking for