IMetabaseSecurity.EnvironmentAttributes

Syntax

EnvironmentAttributes: IABACAttributeInstances;

Description

The EnvironmentAttributes property returns system environment attributes.

Comments

The property is read-only.

Example

To execute the example, add links to the ABAC, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Env: IABACAttributeInstances;
    Attr: IABACAttributeInstance;
    i, Count: Integer;
Begin
    MB := MetabaseClass.Active;
    Env := MB.Security.EnvironmentAttributes;
    Count := Env.Count;
    
For i := 0 To Count-1 Do
        Attr := Env.Item(i);
        Debug.WriteLine(Attr.Attribute.Name(MB.CurrentLocale));
    
End For;
End Sub UserProc;

After executing the example the console window displays names of system environment attributes.

See also:

IMetabaseSecurity