How to find out by MDX that the current users is member of a role - Default member issue

Hi,
just imagine you have a dimension with a few members (A, B, C...). I defined a role which gives some users only rights to "B". On the other hand the default member for the dimension is set to "A". Now users part of the role get an error
that the member "A" is not found. So while
https://msdn.microsoft.com/en-us/library/ms175626.aspx says the default member setting in the role "overrides" the overall default member this is not completely true because first the general default member is selected and after that the role
specific one.
So the solution might be that I explicitly define the default member in all roles. This might be possible but there is one issue: you can't define a role specific default member for users part of the adminstrator role. So all admins don't have a default
member which is quite some restriction for some users...
So the question is how to solve that problem. An idea would be that I use some MDX to determine the default member in the dimension based on the actual user's role membership. But how to do that? Or any better idea?
Thanks,
Thomas Pagel

Hi Thomas,
According to your description, you want to have a role-specific default member for different roles. Right?
In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
for these users. And it will not effect the administration permission for them.
Reference:
Default members, MDX Scripts, Security, KPIs and Perspectives
The Additive Design of SSAS Role Security
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support

Similar Messages

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • How to find out Last T-Codes by a Users in Last 24 Hurs?

    Dear experts
    how to find out Last T-Codes by a Users in Last 24 Hurs?
    Please Help
    Regrads
    Is STAD is only solution (or) any other easy way?
    Regards
    PR

    Hi,
    Maybe it's easier with this path :
    ST03N --> Expert Mode --> Day  --> choose your day
    Under analysis view double click on "Memory Use Statistics"
    You will get the list of transactions run that day.
    If you double click on a transaction you will get the list of users who used this transaction.
    If you select the User view, when you double click on a user, you will get the list of transctions this user launched this day.
    Many ways to use this ST03N transaction...
    Regards,
    Olivier

  • System log - how to find out who has deleted the req from cube.

    ^hello friends
    how can i find out who has deleted the request from cube ?
    i wanted to check the system log , that who has deleted the request from cube .
    could you please let me know how to check the same ?
    regards
    manoj

    Hi,
    Did you try the method I had suggested. It will work.
    Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
    But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
    Try that and you should get the log.
    Thanks,
    JituK

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

  • How to find out who has released the purchase order?

    Hi All,
    I have a PR number lets say 10231322 and somebody has release it. Could any one please tell me how to find out who has release it?
    Waiting for your kind replies......
    Thanks in advance.
    Regards,
    Faisal

    Hi,
    When you are in tr ME23N, use the menu: environment > header changes.
    Rgds,
    Suzy

  • How to find out program name to the corresponding output type of invoice..

    hi ALL,
    I want to findout program name to my output type.
    For one invoice functional peoples are configured. Here i know the outtype. But i don't know the program name .
    Can any body please tell me how to find out the program name for the output type..?

    Hi,
    Goto NACE t-code
    Select Billing (V3)
    Press 'Output Types' Button
    In the next screen select the corresponding output type you want.
    Then press 'Processing Routines' in the left pane. You can see the program name
    Cheers,
    Kothand

  • How to find out what t-code(s) a user executes most?

    Can anybody tell me how I can find out what transaction(s) a given user executes most from the all the transactions that given user has access to? For example if a user has access to 100 t-codes, but only uses 10 of them then, how can I find out that the user never executes rest of the 90 t-codes? Is there a report I can run to find out. Please help.

    Hi Amit,
    STAD is giving me nothing, even though I chose the date 05/03/2007. I also selected both radio  buttons at the bottom. Here's message I am getting "No statistical record for any server found with given criteria"
    Regards,
    Chandu

  • How to find out which BR that is the problem when running CmdLnLauncher.bat

    Hi there
    Trying to run a sequence using CmdLnLauncer, and it starts great. It starte calculating but then throws this error.
    "2012-09-04 15:21:24,790 FATAL main com.hyperion.hbr.cmdlnlauncher.ProgressMonito
    r - Exception:
    Execution ended with error.
    Error Code: EXE002
    Error Args: [Ljava.lang.Object;@2f0d54
    ClassName: com.hyperion.hbr.excp.ExecutionException
    Exception (1200497): Error parsing formula for [FIX STATEMENT] (line 16): unknow
    n member name [@_NULL] in function [@IDESCENDANTS]
    ClassName: java.lang.Exception
    2012-09-04 15:21:24,790 WARN main com.hyperion.hbr.cmdlnlauncher.ProgressMonitor
    - Execution ended with error."
    How do I figure out which BR is the problem? I can't seem to find the rule it is refering to, as the

    Have a search for hbrlaunch.log as it might hold the answer, location can depend on version and OS
    or another option to enable business rule auditing in Planning and then check the HSP_AUDIT_RECORDS table
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to find out XPath-Errors, that are only logged on the console

    Hi,
    I'm using the Java-API of XMLP Standalone Version 5.6.2. If my layout contains a german umlaut, like:
    <?for-each:Behälter_zeile?>
    <?BEFMTB_BEZEICHNUNG?>
    <?end for-each?>
    I get the following output in my application console when I call RTFProcessor.process() for this layout:
    [040609_111900450][][ERROR] [Line 118.183] Incorrect XPath: Behälter_zeile
    There is no exception thrown and the generated document seems to be correct.
    My question: How can I determine such an error in my application? I want to do at least some intelligent logging.
    Mirko

    Hi Thomas,
    According to your description, you want to have a role-specific default member for different roles. Right?
    In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
    it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
    However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
    for these users. And it will not effect the administration permission for them.
    Reference:
    Default members, MDX Scripts, Security, KPIs and Perspectives
    The Additive Design of SSAS Role Security
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • How to find out which one of the few devices connected to the account made a purchase through ITunes?

    How can I find out which of the devices assosiated to my account made a purchase?

    the only reliable way to do this is by scanning table TBTCP using the person's userID in field AUTHCKNAM and filtering by job statuses: scheduled, released, ready and active (sorry I can't remember the code#'s off top of my head, something like P=scheduled, S=scheduled...you have to look it up).   When you search SM37 it only permits you to scan by the userID who created the job, but it won't tell you if a different userID is defined in a job step.  That's why you need to scan TBTCP.  Don't forget that you should also check for a user's open Workflow items before deletion.
    I noticed some posts in this forum that suggest a userID should never be deleted, only locked, added to a special user group, and all role assignments removed.  However I've never worked somewhere that does this.

  • How to find out what is using the native heap of a process running a JVM?

    Hello,
    I am not sure where to post this question so I am starting here.
    I am troubleshooting a Java application using some native calls (32 bits Java running on Solaris 10). The size of the process (as reported by prstat) is slowly increasing day after day.
    The size of the 'Java heap' is fixed at the start (-Xms and -Xmx are set to the same value on the command line when launching the Java app) and the GC is workling fine. No memory complaints from the Java side of the application.
    It is the size of the 'native' heap (as reported by 'pmap') that is increasing:
    root@mas01 # pmap 5382
    5382:/apps/java/bin/java -server -Xms207M -Xmx207M -XX:MaxNewSize=24M -XX:N
    00010000 64K r-x-- /apps/jdk1.5.0_19/bin/java
    0002E000 16K rwx-- /apps/jdk1.5.0_19/bin/java
    00032000 3896K rwx-- [ heap ]
    00400000 389120K rwx-- [ heap ]
    18000000 2784K rwx-- [ heap ]
    DCAF4000 48K rw--R [ stack tid=169 ]
    DCBF6000 40K rw--R [ stack tid=161 ]
    DCCF8000 32K rw--R [ stack tid=160 ]
    My first reaction was to search for a memory leak. Found a minor leak in the JVM with the ::findleak function (called within the mdb debugger). Upgraded to a later release of Java 5 (Java 1.5.0_19) where the leak is fixed but the heap is still increasing.
    Many parts of the process allocate memory in the native heap. The JVM itself, the native calls made to a C++ library part of our Java application and maybe also some 3rd party software.
    I would like to know what is the best way to find out what is consuming more and more memory in the native heap. I started looking a DTraces but I am new to this. I also thought maybe the Solaris Perftools might be of use but I never used them. Before plunging into a tool more or less blindly, I am asking for advices on how to tackle this issue. Can someone recommend a tool/method to see what is allocated in the heap?
    Regards,
    Stéphan
    Edited by: StephanDupont on Sep 22, 2009 8:47 AM

    After googling a lot I managed to run my application with libumem, generated a core file and succeeded to find some leak with mdb even if ::findleak reported nothing.
    Does anyone knows if the ::findleak (you need libumem and mdb) is supposed to find leak in the native part of the memory and a Java application using the JNI interface?
    Regards,
    Stéphan

Maybe you are looking for

  • Wrong name in email address and damaged index in address book

    I have experienced this problem for months now. I have a Mac Pro at the office and MacBook Pro at home. The address book is synced with .mac. At random I will receive emails and the mail program will attach the wrong name with the address ( John doe

  • Oracle XE on Red Hat 6.2

    I'm trying to install the XE Universal RPM on Red Hat 6.2 and experiencing a seemingly never ending circle of packages that need to be updated in order to meet the prerequisites. Has anyone successfully installed XE on an older version of Red Hat lik

  • Repository EPM - Object created automatically in database

    Hi, Somebody know the database total volume used for repository database of Essbase, Shared Services and Workspace instance ? In same way, the number of lines provided for each schema/user oracle (3 in my configuration) and a mapping of the different

  • Migration form Forms 4.5 character to Forms 6i Gui

    Dear all, We are under the process of converting all the forms 4.5 charater to forms 6i guiand Reports 2.5(char) to Reports 6i (gui) . What all issues has to be taken care in this process. Please let us know. Thanks Padma s Bhat

  • My iCloud email isn't working on any of my devices. any suggestions?

    my iCloud email isn't working on any of my devices. any suggestions?