dbTalk Databases Forums  

AS2005: Dynamic security question...

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


Discuss AS2005: Dynamic security question... in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default AS2005: Dynamic security question... - 01-20-2006 , 06:47 PM






Hi

I want to secure a dimension by user.
I have 2 formulas, the first works fine but not the second, why?
working:
nonempty([Employee].[Full Name].members,
crossjoin(strtomember("[Users].[User Name].&[" + UserName + "]"),
measures.[Security Employee Count]))

Not Working:
exists([Employee].[Full Name].members, strtomember("Users.[User Name].&[" +
UserName + "]"), "Security Employee")

the Security Employee measure group contain only the Security Employee Count
measure.

also, I have to apply this security to each cube.
does it possible to apply this security at the dimension level, not for each
cube?
if yes, how?

thanks.

Jerome.



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.