dbTalk Databases Forums  

Programatically finding role membership

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


Discuss Programatically finding role membership in the microsoft.public.sqlserver.olap forum.



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

Default Programatically finding role membership - 10-18-2004 , 01:43 AM






Greetings,

Using Analysis services, I'm trying to generate output that describes
the current security profile of my server. In other words, I'd like to see
what groups or users belong to each cube database and cube role. I started
looking at the DSO object model, but couldn't find what I was looking for.
Is DSO the only way I might be able to do this? thanks.

-Ryan



Reply With Quote
  #2  
Old   
Brian Altmann
 
Posts: n/a

Default RE: Programatically finding role membership - 10-18-2004 , 09:21 AM






DSO is the way to go.
Database objects and Cube objects include a Roles collection.
You should begin by looking at these BOL topics:

Role Interface
clsDatabaseRole
clsCubeRole

You can also take a look at the source code of the DSO-XML utility,
available from Microsoft
(http://www.microsoft.com/downloads/d...DisplayLang=en
), that uses these interfaces to export roles to XML.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html


"Ryan" wrote:

Quote:
Greetings,

Using Analysis services, I'm trying to generate output that describes
the current security profile of my server. In other words, I'd like to see
what groups or users belong to each cube database and cube role. I started
looking at the DSO object model, but couldn't find what I was looking for.
Is DSO the only way I might be able to do this? thanks.

-Ryan




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.