dbTalk Databases Forums  

Problems distinguishing member keys

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


Discuss Problems distinguishing member keys in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MJ Dias
 
Posts: n/a

Default Problems distinguishing member keys - 03-01-2005 , 11:17 AM






Hi,

I'm implementing a cube security using Cube Cell Security Dialog Box.
In the role I'm working on, I want the users to see only one of the
members of dimension Territory.
This member has the following Member Key: [Territory].&[_0]
So I use the MDX [Territorio].currentmember=[Territorio].&[_0]
But there is another member of this dimension with the Member Key:
[Territory.&[0] , and when I test the role, I have access to both of
them!
It seems that it can't distinguish the two member keys.

Does anyone knows why this happens?

Thanks in advance,

Maria

Reply With Quote
  #2  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: Problems distinguishing member keys - 03-01-2005 , 11:38 AM






Well... I think you can point out the member uniquely.

Actually I don't understand how another member can have the same member key.
At least the members at [Territory] level must have unique member keys at
the level, if you can reference them in format of [Level].&[Member Key].
Here I guess the member keys are not unique at the level. If then, you can
reference it uniquely by adding its ascendant as following.

[Territorio].currentmember IS [Territorio].[...].&[_0]

Ohjoo Kwon


"MJ Dias" <mjsd (AT) netc (DOT) pt> wrote

Quote:
Hi,

I'm implementing a cube security using Cube Cell Security Dialog Box.
In the role I'm working on, I want the users to see only one of the
members of dimension Territory.
This member has the following Member Key: [Territory].&[_0]
So I use the MDX [Territorio].currentmember=[Territorio].&[_0]
But there is another member of this dimension with the Member Key:
[Territory.&[0] , and when I test the role, I have access to both of
them!
It seems that it can't distinguish the two member keys.

Does anyone knows why this happens?

Thanks in advance,

Maria



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.