dbTalk Databases Forums  

Define Roles

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Define Roles in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Maria Oddi
 
Posts: n/a

Default Define Roles - 10-21-2004 , 10:51 AM






Hi everyone,

I have some problems define roles in Analysis Services.

My dimensions are:
Projects
Employees

The measure is:
Hours

I want that the user can see only the projects asigned to him, and the
employees that have hours in that projects. The user must not see the hours
of employees in other projects.

I have define the next Custom Dimension Security:

- Dimension Projects:
Allowed members:
{[Projects].[Projects].&[201149]}
(201149 is the allowed project for the user)

- Dimension Employees:
Allowed members:
NONEMPTYCROSSJOIN([Employees].[Employees].MEMBERS,[Projects].[Projects].memb
ers,1)

I have tested it in "Test Role" option, but if I don't select the project I
can see all the employees hours and I can select any employee.

I have spent a lot of time try to understand this without any result... I
really appreciate some clue...

Thanks!





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.