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

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.
主站蜘蛛池模板: 县级市| 揭东县| 平塘县| 中西区| 江阴市| 长宁区| 富民县| 鄂州市| 辽宁省| 巴马| 兴仁县| 宁国市| 略阳县| 临沂市| 东港市| 玉门市| 孝感市| 广平县| 镇坪县| 常熟市| 天等县| 海淀区| 宕昌县| 和龙市| 曲靖市| 甘德县| 上饶市| 井研县| 苗栗县| 大宁县| 莱芜市| 灵璧县| 文昌市| 泸定县| 伊宁县| 江达县| 武功县| 灵丘县| 石台县| 新巴尔虎左旗| 周口市|