Επεξεργασία

Κοινή χρήση μέσω


Immediately apply member permissions (Master Data Services)

Applies to: SQL Server - Windows only Azure SQL Managed Instance

In Master Data Services, instead of waiting for member security to be applied at regular intervals, you can apply member permissions immediately.

Prerequisites

To perform this procedure:

To immediately apply hierarchy member permissions

  1. Open SQL Server Management Studio and connect to the Database Engine instance for your Master Data Services database.

  2. Create a new query.

  3. Type the following text, replacing database with the name of your database and Model_Name with the name of the model.

    USE [database];  
    GO  
    
    DECLARE @Model_ID INT;  
    SELECT @Model_ID = ID FROM mdm.tblModel WHERE [Name] = N'Model_Name';  
    EXEC [mdm].[udpSecurityMemberProcessRebuildModel] @Model_ID=@Model_ID, @ProcessNow=1;  
    GO  
    
  4. Run the query.

See also

Assign Hierarchy Member Permissions (Master Data Services)
Hierarchy Member Permissions (Master Data Services)