![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I know this issue has been dealt with a number of times previously but none of the suggested solutions have worked for me. I am trying to restrict access to a 'User' dimension based on the domain login of a given user, so that the user can only see fields in the cube relevant to them. I cannot get it to work even in the most simple case of defining a single database role for a single domain user which is restricted to a single member in the dimension. In other words:- Enforce on: Server Membership: DOMAIN\jbloggs Cubes: only one cube Restricted Dimensions: User Advanced Dimension Security on User: Top Level: [User].[User] Bottom Level: [User].[User] Allowed Members: {[User].[User].&[Joe Bloggs]} Denied Members: None Testing this role produces the desired results (only show data for Joe Bloggs) but when viewing the cube in Excel using that DOMAIN\jbloggs data for all users is accessible. I have tried using an MDX expression to filter the results dynamically according to a 'NTUser' property I have on User but still with no success. Incidentally, I added a calculated member which returns the 'UserName' function. When testing the role, this correctly returns my domain\login but in Excel it just returns '0'. Despite this, setting HKLM\SOFTWARE\Microsoft\OLAP Server\CurrentVersion\AuditEvents to 0xf (in order to log connect/disconnect events in EventLog) shows that Excel is definitely connecting using DOMAIN\jbloggs. I'm using Excel 2K, AS2KSP3a, SQL2KSP3. I've tried all the suggestions I can find and nothing works. Does anyone know how I can get Excel to pay attention to the restricted dimension? Any help is very much appreciated. Regards, Gavin -- Posted via http://dbforums.com |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |