EnvironmentAttributes: IABACAttributeInstances;
The EnvironmentAttributes property returns system environment attributes.
The property is read-only.
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: