Data and Dashboard Security using ROLES Variable in OBIEE 11g

Hi all,
I'm currently using OBIEE 11g. I'm wondering how to implement the security for data and dashboard in the 11g.
Below is the sample of how the security matrix requirement when I use the 10g version. In 10g, we usually use GROUP (for the data filter in RPD) and WEBGROUPS (for dashboard objects) variables in my initialization block to read from database. As we have 2 different variables, it is possible to control security separately for data and dashboard.
GROUP | Country
G1 | US
G2 | FR
G3 | UK
WEBGROUPS | Dashboard
WG1 | D1
WG2 | D1
WG3 | D1
WG1 | D2
WG2 | D2
WG1 | D3
WG3 | D3
WG3 | D4
Now, in 11g, the recommendation is to use ROLES variable (for application role). So, how would I apply the required security matrix above in 11g using just ROLES variable? Do I still create G1, G2, G3, WG1, WG2, and WG3 as application roles then only use G1-3 in the RPD to filter the data and only use WG1-3 in the analytics to serve as webgroups?
Any advice on this? Thank you very much.

"...Could you elaborate more?"
I mean that role creation and user->role assignment will be managed outside of to the obiee interface - whether that's via the database, LDAP, fmw etc.
Webgroup creation and assignment is managed within the obiee interface and I think that has a lot of benefits - generally you have people responsible for shared folders and dashboard creation, so having them responsible for webgroups and presentation permissions is preferable for me.
"are you saying that I use the role G1-3 only in the RPD, while using the role WG1-3"
Yes .. I'm assuming you have something like
G1 | US
G2 | FR
G3 | UK
WG1 | Finance
WG2 | Marketing
WG3 | Sales
Which becomes
R1 | US
R2 | FR
R3 | UK
R4 | Finance
R5 | Marketing
R6 | Sales
And John belongs to R1 and R4, Fred belongs to R2 and R4 etc. So you would set your data filters against R1-R3 and use R4-R6 like webgroups in the presentation services.
Regards,
Robert

Similar Messages

  • Using presentation variable in OBIEE 11g

    Hi,
    Is is possible to use a prompt to filter data from two sections of a dashboard?
    My dashbaords contains two sections , each pointing to seperate reoport. Can I filter data in the two reports using parameter selected in one prompt?
    If not possible , the wht is the way to achieve this.
    Thanks and Regards
    Santosh

    Thanks Rondo,
    In our project we have e-Biz Oracle ERP application where actuals are captured. Customer is using a third pary tool called Neotix to buid RPD automatically based on Database (oracle) of this application.
    Nw we are building new application for planning and budgeting in Hyperion prodicut by oracle where Database is Essbase. I will be creating an RPD for budget/planning reports based on Essbase data source.
    For creating on report for Actual Vs Budget, I need to have both Actuals data from e-Biz and Budget data from Hyperion comming out of one RPD.
    So I want to merge those two RPDs and build by Actual vs Budget report based on the Business model from this merged RPD.
    I want to understand hw to build the buisness model in the merged RPD so that I can get the acutal and budget data together in the same report using Answers. I am using OBIE 11g.
    Please tell me wht should be my reporting strategy for achieving this. Can I create single business model for two dataa source which I will import in phyisical layer? How Do I join the two data sources in my RPD, in the business model? What are the challanges to do this kind of model in the merged RPD. ? Do u think there will be challanges to joing Essbabase members (since it is multidimensional cube ) with e-Biz data source in physical layer?
    If I build multiple subjects area (one for e-Biz datasouce and another for Essbase data souce) what modeling steps, I need to implement in presentation layer of the merged RPD?
    In answers how to I build report so that actual and budget data can be displayed together? Are there any technical challanges to implement such report in Answer? If yes, then what are the ulternative approaches?
    I came to know that if it is not possible to get both actual and budet data together in one report, then I should build a dashboard with two sections , and build two reports (one for actuals data and another for dudget data ) and then place one report in one section and another section in another section in the dashboard. Is it a good approach? Is there any better approach?
    I want to use one prompt to filter data for actuals and budget . eg. for year 2012, I want to dislpay Actuals as well as Budet values?
    Please provide your expert inputs...
    Thanks and Regards
    Santosh

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • Dates Format in Promts using Session Variables

    Hi Experts,
    I have an issue in controlling date format in prompts using session variable which I am using to set default value.
    By default date format is timestamp E.g '2010-12-19 12:00:00 AM'.
    As per requriement(s) I customized the date format in Reports as 19-Dec-2010 and I saved it as "System Wide Default for <Date Column Name> "
    So, I got desired format in Reports and Date Prompts.
    Now, I need to set a default value in Date Prompt. So, in RPD I created a Session Variable which returned me date in
    DD-MON-YYYY format. Using follwing SQL :
    SELECT REPLACE(CONVERT(VARCHAR(11), Getdate (), 106), ' ', '-') AS [DD-Mon-YYYY]
    But in reports takes this value as string and not Datetime. So i got an error message.
    A datetime value was expected (received "19-Dec-2010").
    If i do not use above SQL to CONVERT date then default date in prompt get displayed as timestamp format and give me desired results but Formatting looks very odd in prompt
    Is this a way so I can persist the [DD-Mon-YYYY] Formatting for default value which comes using variable and still run the report.
    Above problem also exist vice versa that is if i SET that session variable and pass the datetime value to server. But there i guess I can use ToDate or some Casting in RPD column expression to handle that. Tell me if i am right ?
    Thanks
    Saurabh

    That almost works. I had to adjust the syntax to the following...and then there are other issues doing this.
    select cust_no, name,'@{session.currentUser}' from customersMy write-back SQL is this:
    UPDATE customers SET NAME='@{c1}',LAST_EDITED_BY='@{c2}' WHERE CUST_NO=@{c0}But I don't want to display the cust_no column to the user. So I hide it in the UI. But if I do that I get the below error during write-back. Apparently sometimes when you hide a column on a direct query (numeric maybe?) the value doesn't transfer over to the write-back. If that's the case, this won't work for me. Hmm...
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute: UPDATE customers SET NAME='Wyatt Donnely',LAST_EDITED_BY='Administrator' WHERE CUST_NO= . [nQSError: 17011] SQL statement execution failed. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL dev1 UPDATE customers SET NAME='Wyatt Donnely',LAST_EDITED_BY='Administrator' WHERE CUST_NO=

  • I recently lost my iphone.......and i have some confidencial data and pics in it....I want to make that are my data and pics secure r not?

    I recently lost my iphone.......and i have some confidencial data and pics in it....I want to make that are my data and pics secure r not?

    Well, if it is locked with a passcode; the only way for someone to use it would be for them to guess your passcode or restore it as new in iTunes. If they restore it, it wipes out all your information and puts the device back to factory settings.
     if you have iCloud setup; you can go to iCloud.com on a computer and sign in with your Apple Id and Password and you can possible track the device; also give the option to send a sound or message to the device; also you can remotely lock it with a passcode or remotely wipe it to factory settings;
    Hope this helps!!

  • HT203066 Health App keeps resetting data and dashboard view

    Health up on my iPhone 5s (iOS v8.1.2) keeps resetting the data and dashboard views:
    - when I enter data in the 'Me' tab (Birthdate, Sex, Blood type), the data keeps disappearing when opening the application again
    - adding a dashboard (i.e. 'Weight') the dashboard shows (with no values) and disappears again
    - adding a data point in any dashboard manually does not show.
    Also - I am using MyFitness Pal & Withings Health App - no data is showing.
    I recently re-installed the phone as new (couple of weeks ago), I re-installed the third party apps (and deleted all data when asked)
    Any hints, pointers?
    Thanks in advance

    I'm having the exact same problem. I've even tried:
    1. Turn off all syncing by theirs-party sources.
    2. Delete all third-party apps that might sync data so that the Health App "Sources" list is empty
    3. Reset all settings on the phone.
    4. Reload third-party apps one by one
    5. Selectively turn on syncing by third-party apps and only sync categories I really want to see.
    All to no avail. The Health App crashes constantly and when trying to input data into third-party apps, those apps will crash also.
    I'm currently trying to sync data with:
    UP by Jawbone (UP24)
    Withings HealthMate (Withings WiFi scale)
    MyFitnessPal
    Runtastic
    Nike+

  • The backup file contains unrecognized data and cannot be used

    I am trying to restore files from an NT back up on a SBS 2003.   The backup was taken on this machine and trying to restore to the same.   I get this error: The backup file contains unrecognized data and cannot be used.
    I tried copying it to a different machine with no luck.  Any suggestions?
    Robert

    Hi,
    Since the backup file cannot be restored on a different machine, the backup file could be corrupt. You need to use some third party recovery utilities to restore the backup file.
    For more detailed information, please refer to the article below:
    Windows NTBackup restore troubleshooting tips
    http://searchdatabackup.techtarget.com/tip/Windows-NTBackup-restore-troubleshooting-tips
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have Creative Cloud installed and Photoshop installed, but I can not open the program itself. No idea why, everything is up to date and i was using it just fine yesterday.

    I have Creative Cloud installed and Photoshop installed, but I can not open the program itself. No idea why, everything is up to date and I was using it just fine yesterday.
    2015-02-24_1129 - DavidIpromote's library

    Try resetting Photoshop Preferences.   Use your Photoshop start icon to launch Photoshop and immediately press and hole Shift+Ctrl|CMD+Alt|Option keys   Photoshop should Prompt you with Do you want your Preferences deleted. Reply yes.   Photoshop should then delete your user ID preferences and then create a default set of preferences for your ID and start successfully.

  • Creating data and .par files using SWIFT Integration Package

    Hi,
    I have a requirement to generate a data and .par file using SAP PI Integration package for SWIFT.
    I am following the SAP Note: 1303428.
    I have created 1 sender and 2 receiver comm channels(one for payload and other for par). Used operation mapping SWIFT_payload_parFile_split in the Interface determination.
    I am using the adapter module : localejbs/swift/FileActConversionToSWIFTModule and setting the parameter DetachParameters to true. This adapter module is being used in all the three channels(1 sender and 2 receivers).
    I have used ASMA ans has set the FileName checkbox.
    Now after placing the file in the input directory, the file with the same name gets created in the output directory but the file is exactly same and also no .par file is getting created. I have set the Empty file handling to Ignore, so it shows that there is no data to  create a .par file and only payload file is getting created but the payload file is exactly same.
    Also if I use the adapter module : localejbs/swift/FileActConversionToSWIFTModule in only the sender communication channel, a payload file gets created like below.
    <?xml version="1.0" encoding="UTF-8"?>
    -<ns1:SWIFT_payload xmlns:ns1="http://sap.com/xi/SWIFT"><payload>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPEZpbGU+CiA8UGFyYW1ldGVycyB4bWxucz0idXJuOnN3aWZ0OnNhZzp4c2Q6ZnRhLnBhcmFtLjEuMCIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSI+CiAgPE92ZXJyaWRlcz4KICAgPFJlc3BvbmRlcj5jbj1jZngsb3U9bmEsbz1jaXRpZ2IybCxvPXN3aWZ0PC9SZXNwb25kZXI+CiAgIDxTZXJ2aWNlPnN3aWZ0LmNvcnAuZmEhcDwvU2VydmljZT4KICAgPFJlcXVlc3RUeXBlPnBhaW4uMDAxLjAwMS4wMzwvUmVxdWVzdFR5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1OTAuMDAsRVVSLDIwMTQwMzI8L1VzdHJkPgogICAgIDwvUm10SW5mPgogICAgPC9DZHRUcmZUeEluZj4KICAgPC9QbXRJbmY+CiAgPC9Dc3RtckNkdFRyZkluaXRuPgogPC9Eb2N1bWVudD4KPC9GaWxlPgo=</payload></ns1:SWIFT_payload>
    But while creating the par file, it shows that the file could not be overwritten and so the .par file is not getting created.
    I need to understand that:
    1)  How do I configure both of my receiver channels i.e. what should be the difference. Currently, I am just setting the
    same Output directory in both and file name schema * and has used ASMA with FileName parameter. So same name files are getting created and so one file gets discarded. How to create a .par file.
    2) Also Is the file above is the correct file required by SWIFT.
    3) Also when I check in SXMB_MONI, I can see that after running the adapter module same payload as given above is going in both payload and par files i.e. also if I am using different names in my receiver communication channels two files are getting created payload and par both are having the same payload. So what exactly should get created.
    Kindly guide on this implementation.

    Hi,
    I am able to generate the .par file by setting the localsecurity to true and the KeyId from the key manager.
    Now two files are getting created .xml and .par. .xml file which is the payload file is the same as the input file with no difference and contains both the overrides and the data parameters. The .par file contains the Algorithm and the Value.
    Is this correct?
    Also suppose the input file name is SEPA.xml, then the payload file is created with the name as
    SEPA.xml and the par file is created with the name SEPA.xml.par. I need only SEPA.par. How to achieve this.

  • Can anyone help me keep wifi off on my S5?  Since the last update my wifi keeps turning on without input from me.  I have unlimited data and don't use the wifi much to extend the battery but this is killing it now.

    Can anyone help me keep wifi off on my S5?  Since the last update my wifi keeps turning on without input from me.  I have unlimited data and don't use the wifi much to extend the battery but this is killing it now.

    Help is here to resolve this issue with your wifi connection 88DaveS. Lets try disabling your "Smart Network Switch". Select Settings> Wifi. The 'smart network switch' is in the advanced settings. Locate the Menu icon in the upper right hand corner > Tap Menu > Tap Advanced > Locate and ensure the check box is Unchecked next to Smart network switch. Let us know if this helps.
    KinquanaH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Presentation Variable in obiee 11g

    Hi all ,
    I had a dashboard report with year , quarter , month and order type name as prompts .
    Now my client requirement is , when order type name is "Ord" , the reports with order type name starting with 'ORD" should be displayed.
    In simple i know we will use " Like" operator .
    But now my problem is we have to assign a presentation variable for order type name.
    So can some one tell me how to add a presentation variable in OBIEE 11g , i tried in web , but none of it helped me to finish the job ,, since i am very new to obiee can some one please explain me in non technical language
    Thank you for your help

    Hi Jay , Thank you very much for reply , now i got a little idea , but few doubts abt ur reply .
    Yes i will edit dashboard prompt and assign a like operator and will save the prompt , but when editing the report , you said to apply a filter *LIKE @{presentation_variable}{default_value}%*
    In the above what will be in place of presentation_variable and what should be in default_value.
    I have tried it in this way : Like @{Sales Order Lines Order Type Name} , where Sales Order Lines Order Type Name is my dashboard prompt .
    but it didn't worked when i have given 'Ord' in dashboard prompt the error says: Sales Order Lines Order Type Name is LIKE (pattern match) ord

  • Restrict displayed data in a query using roles

    Hi experts.
    i'm writing to you to explain our trouble.
    We have an infocube with 2 company codes 'A' & 'B'.
    We are trying to display only one of them depending on the user that executes THE SAME query, whitouth using a filter for the company code (0comp_code).
    We have done a couple of roles that restrict that infoobject and we have activated de chekbox in the infoobject properties/reporting "authorization relevant".
    This doesn´t work as well as we wanted, it restricts the access to the data that we don´t specify in the role, but when the query is executed, we obtain a message which says that the user has not authorization to acces data, here is the main problem, we only want to display a company code, but when we execute the query and tries to acces the data that is not defined in the role for that user, the query crashes and doesn't display anything.
    Is there a way to do what we want using role authorizations?
    Thanks in advance.

    Hi,
    Thanks for your answers, but, i am still having the problem.
    We are working with the 3.5 version, so we can not do what you say.
    In the other hand we have already used the transaction rssm to do that, but we are still having the authorization message when we execute the query whitouth a filter and comes data that is not defined int our roles.
    I am not sure, perhaps it is not possible with the 3.5 version.
    Thanks.

  • Unable to insert date and time when using date datatype

    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    Thanks

    user633278 wrote:
    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    ThanksYou most certainly can save the time. A DATE column, by definition stores date and time. What you describe is a presentation problem, and setting nls_date_format at the system as an init parm is the weakest of all settings as it is overridden by several other locations.
    without seeing the exact sql that produced the error (not just your description of what you think you were doing) it is impossible to say for sure.
    However, I'd suggest you read http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/

  • CONCATENATE date and time into a text variable

    Hi ABAP Gurus,
      I would like to retrieve current system date and time and concatenate into a variable. I would really appreciate if someone could help me. I have the following code and i seem to get some kind of error.
    I would like my output to be like:
         "22.JUN.2006  Some Text  12:30:22"
    Code:
    data:  emtext     like TEMSG-EMTEXT.
    data:  date_output(50)  TYPE C.
        CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
           EXPORTING
               INPUT          =  SY-DATUM
           IMPORTING
                OUTPUT        =  date_output.
    SHIFT date_output RIGHT DELETING TRAILING SPACE.
      CONCATENATE date_output ': Some Custom Message '
       INTO emtext.
      Also, is there a function to convert time to text or conversion is not necessary?
    Thanks.
    Regards,
    bw_newbie

    Here is something a little closer to your requirement.
    report zrich_0001 .
    data: date(20) type c,
          time(10) type c,
          str type string.
    data: xT247 type T247.
    select Single * into xt247 from t247
              where MNR = sy-datum+4(2).
    concatenate  sy-datum+6(2) xt247-ktx sy-datum(4)
              INTO date separated by '.'.
    write sy-uzeit to time.
    concatenate date 'SomeText' time into str separated by space.
    write:/ str.
    Regards,
    Rich Heilman

  • Get number of hours between two dates and two hours using factory calendar

    Hello all,
    I have the following requirement: I need to calculate the number of hours between two dates and two hours (start date- finish date and start hour-finish hour) or timestamps using a factory calendar. I must program it on CRM environment.
    Does anybody know a function module that makes it?
    Thanks in advance.
    Carmen

    Please check function module DURATION_DETERMINE.
    - April King

Maybe you are looking for