IRdsDictionary.AbacSecured

Syntax

AbacSecured: Boolean;

AbacSecured: System.Boolean;

Description

The AbacSecured property determines whether table MDM dictionary elements have attribute-based access permissions.

Comments

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

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

The property can be set to:

Example

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

Add links to the Metabase, Rds system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IRdsDictionary;
Begin
    
// Get the current repository
    MB := MetabaseClass.Active;
    
// Get table MDM dictionary
    MObj := MB.ItemById("RDS").Bind;
    Dict := MObj 
As IRdsDictionary;
    
// 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.Rds;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IRdsDictionary;
Begin
    
// Get the current repository
    MB := Params.Metabase;
    
// Get table MDM dictionary
    MObj := MB.ItemById["RDS"].Bind();
    Dict := MObj 
As IRdsDictionary;
    
// 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 result of defining attribute-based access permissions to table MDM dictionary elements with the RDS identifier will be displayed to the console.

See also:

IRdsDictionary