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

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.
主站蜘蛛池模板: 青铜峡市| 宜宾县| 丹棱县| 上犹县| 新乡县| 儋州市| 南岸区| 平山县| 平原县| 翼城县| 青川县| 长寿区| 精河县| 宁晋县| 通河县| 顺平县| 公主岭市| 德兴市| 长寿区| 长垣县| 淄博市| 扬中市| 曲周县| 曲沃县| 湖口县| 曲周县| 清水县| 临澧县| 荣成市| 怀仁县| 运城市| 八宿县| 石渠县| 乐清市| 赤城县| 中方县| 尤溪县| 深水埗区| 新津县| 银川市| 温州市|