IRdsAttribute.WriteAccessStr

Syntax

WriteAccessStr: String;

Description

The WriteAccessStr property determines value of a security label that determines users who have permissions to change values of dictionary elements by this attribute. Security label is set as a decimal number written in a string mode. This property is used if it is necessary to distribute access for more than 32 security subjects.

Example

Executing the example requires the MDM repository NSI_1 that contains the MDM dictionary with the Dict_1 identifier.

Sub UserProc;

Var

MB: IMetabase;

Dict: IRdsDictionary;

Attrs: IRdsAttributes;

Attr: IRdsAttribute;

Begin

MB := MetabaseClass.Active;

Dict := MB.ItemByIdNamespace("Dict_1", MB.ItemById("NSI_1").Key).Bind As IRdsDictionary;

Attrs := Dict.Attributes;

For Each Attr In Attrs Do

Debug.WriteLine(Attr.WriteAccessStr);

End For;

End Sub UserProc;

After executing the example a value of a security label, that determines permissions to change elements values by this attribute, is displayed in a string mode for each element of a dictionary.

See also:

IRdsAttribute