dbTalk Databases Forums  

Filter dimensions programatically

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


Discuss Filter dimensions programatically in the microsoft.public.sqlserver.olap forum.



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

Default Filter dimensions programatically - 08-24-2006 , 01:15 AM






Hi, I have a olap cube in sql server and i would like me that some
users had access some members of a dimension but not others. I think I
must use roles but I've got a trouble. The information about security
is in a table database, so, I must build these roles dinamically,
programatically, is this possible?, anybody has got an example code
please?

Thanks in advance.

David


Reply With Quote
  #2  
Old   
Radu Colceriu
 
Posts: n/a

Default Re: Filter dimensions programatically - 08-24-2006 , 05:37 AM






Hi,

you must build the roles and permissions progamatically.
The simple way is to create a role with data dimension restriction using the
management studio and then look/save the xmla what is generated.
Then you can generate your xmla's and sent them to the AS.

Radu

P.S: this is working for AS2005

"Ixabre" <ixabre (AT) gmail (DOT) com> wrote

Quote:
Hi, I have a olap cube in sql server and i would like me that some
users had access some members of a dimension but not others. I think I
must use roles but I've got a trouble. The information about security
is in a table database, so, I must build these roles dinamically,
programatically, is this possible?, anybody has got an example code
please?

Thanks in advance.

David




Reply With Quote
  #3  
Old   
Ixabre
 
Posts: n/a

Default Re: Filter dimensions programatically - 08-30-2006 , 05:21 AM




Radu Colceriu ha escrito:

Quote:
Hi,

you must build the roles and permissions progamatically.
The simple way is to create a role with data dimension restriction using the
management studio and then look/save the xmla what is generated.
Then you can generate your xmla's and sent them to the AS.

Radu

P.S: this is working for AS2005

Thank you for your answering Radu, just one more question, Pivot Table
is able to read xmla sentences in command text property as does with
MDX expresion?.

Thanks in advance Radu.



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.