Události
31. 3. 23 - 2. 4. 23
Největší událost učení Fabric, Power BI a SQL. 31. března – 2. dubna. Pomocí kódu FABINSIDER uložte $400.
Zaregistrovat se ještě dnesTento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
Applies to:
SQL Server Analysis Services
Azure Analysis Services
Fabric/Power BI Premium
This article describes how to use Role Manager in Visual Studio to create roles, define role permissions, and add users for a tabular model project. To learn about creating and managing roles for a deployed model, see Create and manage roles in SSMS.
Poznámka
Model roles in Power BI are used only for row-level security filters (RLS). Only Read permission are supported. Use the Power BI security model to control permissions beyond RLS.
To create, edit, copy, and delete roles, use the Role Manager dialog box. To view the Role Manager dialog box, in Visual Studio, click Extensions > Model > Role Manager.
In Role Manager, click New.
A new highlighted role is added to the Roles list.
In the Roles list, in the Name field, type a name for the role.
Use names that clearly identify the member type, for example, Finance Managers or Human Resources Specialists, and be sure the name doesn't include a comma. By default, the name of the default role will be incrementally numbered for each new role.
In the Permissions field, click the down arrow and then select one of the following permission types:
Permission | Description |
---|---|
None | Members cannot make any modifications to the model schema and cannot query data. |
Read | Members are allowed to query data (based on row filters) but cannot make any changes to the model schema. |
Read and Process | Members are allowed to query data (based on row-level filters) and run Process and Process All operations, but cannot make any changes to the model schema. |
Process | Members can run Process and Process All operations. Cannot modify the model schema and cannot query data. |
Administrator | Members can make modifications to the model schema and can query all data. |
To enter a description for the role, click the Description field, and then type a description.
If the role you are creating has Read or Read and Process permission, you can add row filters by using a DAX formula. To add row filters, click the Row Filters tab, then select a table, then click the DAX Filter field, and then type a DAX formula.
To add members to the role, click the Members tab, and then click Add.
Poznámka
Role members can also be added to a deployed model by using SQL Server Management Studio. For more information, see Manage Roles by using SSMS.
In the Select Users or Groups dialog box, enter Windows user or Windows group objects as members.
Click Ok.
Události
31. 3. 23 - 2. 4. 23
Největší událost učení Fabric, Power BI a SQL. 31. března – 2. dubna. Pomocí kódu FABINSIDER uložte $400.
Zaregistrovat se ještě dnesŠkolení
Modul
Implement Role-based Security in finance and operations apps - Training
Finance and operations apps use role-based security to assign access to components in the system. A user who is assigned to a security role has access to the set of privileges that is associated with that role.
Certifikace
Microsoft Certified: Power BI Data Analyst Associate - Certifications
Předveďte metody a osvědčené postupy, které odpovídají obchodním a technickým požadavkům pro modelování, vizualizaci a analýzu dat pomocí Microsoft Power BI.
Dokumentace
Configure Analysis Services tabular model roles
Learn how to configure roles in tabular models so you can define member permissions for a model.
Manage Analysis Services tabular model roles by using SSMS
Learn how to create, edit, and manage roles for a deployed tabular model by using SQL Server Management Studio.
Grant custom access to dimension data (Analysis Services)
Set additional permissions that explicitly allow or deny access to dimension members and measures used in a cube.