官术网_书友最值得收藏!

How to do it...

Once the above prerequisites are completed follow the steps below:

  1. Open the SSMS and choose Connect to Analysis Services… instance.
  2. Expand SQL Server 2012 instance and the Databases folder.
  3. Choose the database AdventureWorksDM (created within the Getting Ready section from the Designing and creating security roles in an OLAP Database recipe) and expand the Roles folder.
  4. Right-click on the Roles folder to create a new role:
    Tip

    Until SQL Server 2008 R2, a new role could be created by attempting to right-click on the Role node within the Solution Explorer pane within Business Intelligence Development Studio (BIDS) too. However BIDS tool is deprecated from SQL Server 2012.

    To manage and administer the BI technologies, Analysis Services, Integration Services, and Reporting Services, use SQL Server Management Studio tool, which is associated with each of these technologies and is slightly different.

  5. Choose the name of this New Role as DBIA_Reader and opt for Read definition (as seen in the following screenshot).
  6. The remaining vertical screen-tab options from the Select a page option are explained as follows:
    • General: The best place to highlight which role is defined for the selected Analysis Services database.
    • Membership: Choose the corresponding local and domain users/groups to be added for this role.
    • Data Sources: An essential place to use data mining functionality within Analysis Services. (Unless we have created Data Sources on SSMS Object Explorer, the Data Source screen area will be blank).
    • Cubes: A place to set up several cube-level permissions (right to access and administrative).
    • Cell Data: To define security at the cell level within the cube; this is relevant only when the corresponding Cubes option is defined in the preceding option.
    • Dimensions: This is relevant for all database dimensions level permissions.
    • Dimension Data: The security that allows Basic and Advanced options for Attributes Hierarchy. You can select or de select all members along with Allowed, Denied and Default member sets.
  7. Once the relevant options are set click on OK to create the specified role within the Analysis Services database.

As you may have observed that the preceding steps confirm the creation of the Reader privileged role, for the sake of multiple recipes specific to Security Roles let us create two additional roles that will be different to each other on the AS database.

Follow these steps for creating two additional roles that will be different to each other on the AS database

  1. Choose the name of this new role as DBIA_User.
  2. Click on OK to create the specified role within the Analysis Services database.
  3. Choose the name of this New Role as DBIA_Processor and opt for the Process database permission under the Set the database permissions for this role option. (see the preceding screenshot for more information).
  4. Click on OK to create the specified role within the Analysis Services database.
主站蜘蛛池模板: 嵩明县| 保定市| 平南县| 彭州市| 和平县| 武强县| 临沧市| 顺义区| 疏附县| 谢通门县| 堆龙德庆县| 临泉县| 台北县| 周宁县| 峨边| 府谷县| 盈江县| 聊城市| 康乐县| 仪征市| 介休市| 吉木萨尔县| 金溪县| 黑河市| 白朗县| 新干县| 垣曲县| 新干县| 阜南县| 团风县| 南通市| 辛集市| 交口县| 景谷| 青川县| 东城区| 腾冲县| 汝南县| 平顶山市| 石家庄市| 宁国市|