Id: IUserDimAttribute;
The Id property determines calculated dictionary's attribute whose function is to show ID.
Sub Main;
Var
MB: IMetabase;
UsDim: IUserDimension;
UsDimAts: IUserDimAttributes;
UsDimAttr: IUserDimAttribute;
i: Integer;
Begin
MB:=MetabaseClass.Active;
UsDim:=MB.ItemById("USER_DIM").Bind As IUserDimension;
UsDimAts:=UsDim.Attributes;
UsDimAttr:=UsDimAts.Id;
i:=UsDimAttr.Key;
End Sub Main;
After executing the example the "i" variable contains the attribute key of the calculated dictionary that determines ID. Dictionary identifier: USER_DIM.
See also: