IDimensionModel.AbacSecured

Syntax

AbacSecured: Boolean;

AbacSecured: boolean;

Description

The AbacSecured property returns whether attribute-based access permissions are available in table MDM dictionary elements.

Comments

If attribute-based access control method is selected, access permissions can be set up for each element of table MDM dictionary.

For details see the Access Permissions for MDM Dictionary Elements section.

Available values:

Example

To execute the example, make sure that the repository contains a table MDM dictionary with the RDS identifier.

Add links to the Metabase, Dimensions system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IDimensionModel;
Begin
    
// Get the current repository
    MB := MetabaseClass.Active;
    
// Get table MDM dictionary
    MObj := MB.ItemById("RDS").Bind;
    Dict := MObj 
As IDimensionModel;
    
// Determine whether table MDM dictionary elements have attribute-based access permissions
    If Dict.AbacSecured Then
        Debug.WriteLine(
"Elements have attribute-based access permissions");
        
Else
        Debug.WriteLine(
"Elements do not have attribute-based access permissions");
    
End If;
End Sub UserProc;

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Dimensions;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IDimensionModel;
Begin
    
// Get the current repository
    MB := Params.Metabase;
    
// Get table MDM dictionary
    MObj := MB.ItemById["RDS"].Bind();
    Dict := MObj 
As IDimensionModel;
    
// Determine whether table MDM dictionary elements have attribute-based access permissions
    If Dict.AbacSecured Then
        System.Diagnostics.Debug.WriteLine(
"Elements have attribute-based access permissions");
        
Else
        System.Diagnostics.Debug.WriteLine(
"Elements do not have attribute-based access permissions");
    
End If;
End Sub;

After executing the example the console displays the result of determining attribute-based access permissions for table MDM dictionary elements with the RDS identifier.

See also:

IDimensionModel